public TrackTask(Track track, int index, Settings settings, TELL_PARENT_OVER tellparent, Album album = null, Playlist playlist = null)
        {
            Index         = index;
            Settings      = settings;
            TidalTrack    = track;
            TidalAlbum    = album;
            TidalPlaylist = playlist;

            Title = track.Title;
            Own   = track.Album.Title;

            Progress       = new ProgressHelper(false);
            TellParentOver = tellparent;

            Start();
        }
Example #2
0
        public VideoTask(Video video, int index, Settings settings, TELL_PARENT_OVER tellparent, Album album = null, Playlist playlist = null)
        {
            Index         = index;
            Settings      = settings;
            TidalVideo    = video;
            TidalAlbum    = album;
            TidalPlaylist = playlist;

            Title = video.Title;
            Own   = video.ArtistsName;

            Progress       = new ProgressHelper(false);
            TellParentOver = tellparent;

            Start();
        }
        public VideoTask(Video data, int index, TELL_PARENT_OVER tellparent, Album album = null, Playlist playlist = null)
        {
            Index          = index;
            Title          = data.Title;
            Own            = data.Artist.Name;
            Progress       = new ProgressHelper(false);
            TellParentOver = tellparent;

            TidalVideo        = data;
            TidalAlbum        = album;
            TidalPlaylist     = playlist;
            Resolution        = TidalTool.getResolution(Config.Resolution());
            AddHyphen         = Config.AddHyphen();
            ArtistBeforeTitle = Config.ArtistBeforeTitle();
            AddYear           = Config.AddYear();
            OutputDir         = Config.OutputDir();
            Start();
        }
Example #4
0
        public TrackTask(Track data, int index, TELL_PARENT_OVER tellparent, Album album = null, Playlist playlist = null)
        {
            Index          = index;
            Title          = data.Title;
            Own            = album == null ? null : album.Title;
            Progress       = new ProgressHelper(false);
            TellParentOver = tellparent;

            TidalTrack        = data;
            TidalAlbum        = album;
            TidalPlaylist     = playlist;
            Quality           = TidalTool.getQuality(Config.Quality());
            OnlyM4a           = Config.OnlyM4a();
            AddHyphen         = Config.AddHyphen();
            UseTrackNumber    = Config.UseTrackNumber();
            CheckExist        = Config.CheckExist();
            ArtistBeforeTitle = Config.ArtistBeforeTitle();
            AddExplict        = Config.AddExplicitTag();
            AddYear           = Config.AddYear();
            OutputDir         = Config.OutputDir();
            Start();
        }