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)
pull/1277/head
litetex 2025-02-13 21:24:05 +01:00
rodzic d9caa90d23
commit 3ad9f17c53
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 525B43E6039B3689
1 zmienionych plików z 12 dodań i 1 usunięć
extractor/src/main/java/org/schabi/newpipe/extractor/playlist

Wyświetl plik

@ -13,11 +13,12 @@ import org.schabi.newpipe.extractor.stream.Description;
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
import org.schabi.newpipe.extractor.utils.ExtractorHelper;
import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnull;
public final class PlaylistInfo extends ListInfo<StreamInfoItem> {
/**
@ -42,6 +43,16 @@ public final class PlaylistInfo extends ListInfo<StreamInfoItem> {
*/
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
* genre mixes