<reponame>DakaraProject/dakara-server
from internal.apps import DakaraConfig


class PlaylistConfig(DakaraConfig):
    """Playlist app."""

    name = "playlist"

    def ready_no_reload(self):
        """Method called when app start."""
        from playlist.date_stop import check_date_stop_on_app_ready
        from playlist.models import clean_channel_names

        check_date_stop_on_app_ready()
        clean_channel_names()

from internal.apps import DakaraConfig


class PlaylistConfig(DakaraConfig):
    """Playlist app."""

    name = "playlist"

    def ready_no_reload(self):
        """Method called when app start."""
        from playlist.date_stop import check_date_stop_on_app_ready
        from playlist.models import clean_channel_names

        check_date_stop_on_app_ready()
        clean_channel_names()
Playlist app. Method called when app start.