1 from collections
import namedtuple
4 WellKnownSetting
= namedtuple('WellKnownSetting', 'name default')
7 # this should be documented at
8 # http://wiki.gpodder.org/wiki/Web_Services/API_2/Settings#Known_Settings
10 # Flag to allow storing of user-agents
11 STORE_UA
= WellKnownSetting('store_user_agent', True)
13 # Flag to mark a subscription as public
14 PUBLIC_SUB_PODCAST
= WellKnownSetting('public_subscription', True)
16 # Default public-flag value (stored in the podcast)
17 PUBLIC_SUB_USER
= WellKnownSetting('public_subscriptions', True)
19 # Flattr authentication token, empty if not logged in
20 FLATTR_TOKEN
= WellKnownSetting('flattr_token', '')
22 # enable auto-flattring
23 FLATTR_AUTO
= WellKnownSetting('auto_flattr', False)
26 FLATTR_MYGPO
= WellKnownSetting('flattr_mygpo', False)
28 # username for flattr buttons for own content
29 FLATTR_USERNAME
= WellKnownSetting('flattr_username', '')
31 # Flag to mark an episode as favorite
32 FAV_FLAG
= WellKnownSetting('is_favorite', False)