Revert potentially breaking change

I expected this class to be located in ``youtube`` as it mostly contains YT specific playlist types, but this assumption was wrong.

See also: d9caa90d23 (r1955161108)
This commit is contained in:
litetex 2025-02-13 21:24:05 +01:00
parent d9caa90d23
commit 3ad9f17c53
No known key found for this signature in database
GPG Key ID: 525B43E6039B3689

View File

@ -13,11 +13,12 @@ import org.schabi.newpipe.extractor.stream.Description;
import org.schabi.newpipe.extractor.stream.StreamInfoItem; import org.schabi.newpipe.extractor.stream.StreamInfoItem;
import org.schabi.newpipe.extractor.utils.ExtractorHelper; import org.schabi.newpipe.extractor.utils.ExtractorHelper;
import javax.annotation.Nonnull;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import javax.annotation.Nonnull;
public final class PlaylistInfo extends ListInfo<StreamInfoItem> { public final class PlaylistInfo extends ListInfo<StreamInfoItem> {
/** /**
@ -42,6 +43,16 @@ public final class PlaylistInfo extends ListInfo<StreamInfoItem> {
*/ */
MIX_MUSIC, MIX_MUSIC,
/**
* A mix made only of streams from (or related to) the same channel, for example YouTube
* channel mixes
*
* @deprecated There is currently no service that implements this.
* YouTube removed all playlists with this type around 2024-06
*/
@Deprecated
MIX_CHANNEL,
/** /**
* A mix made only of streams related to a particular (musical) genre, for example YouTube * A mix made only of streams related to a particular (musical) genre, for example YouTube
* genre mixes * genre mixes