Channels config no longer supports favorites.

This commit is contained in:
Roland 2024-03-10 16:44:08 -06:00
parent 2ce62b7fc4
commit a486a39b73
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -196,7 +196,6 @@ class ChannelsConfig(ConfigFile):
download_frequency=604800,
)
},
favorites=dict(),
)
@property
@ -207,16 +206,6 @@ class ChannelsConfig(ConfigFile):
def channels(self, value: dict):
self.update({'channels': value})
@property
def favorites(self) -> dict:
warnings.warn('Favorites have been moved to Tags', DeprecationWarning)
return self._config['favorites']
@favorites.setter
def favorites(self, value: dict):
warnings.warn('Favorites have been moved to Tags', DeprecationWarning)
self.update({'favorites': value})
CHANNELS_CONFIG: ChannelsConfig = ChannelsConfig()
TEST_CHANNELS_CONFIG: ChannelsConfig = None