Skip to content

Commit 3ad9f17

Browse files
committed
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: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1277/files/d9caa90d239571dfa394923ab7b7c35004454a06#r1955161108
1 parent d9caa90 commit 3ad9f17

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistInfo.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
1414
import org.schabi.newpipe.extractor.utils.ExtractorHelper;
1515

16-
import javax.annotation.Nonnull;
1716
import java.io.IOException;
1817
import java.util.ArrayList;
1918
import java.util.List;
2019

20+
import javax.annotation.Nonnull;
21+
2122
public final class PlaylistInfo extends ListInfo<StreamInfoItem> {
2223

2324
/**
@@ -42,6 +43,16 @@ public enum PlaylistType {
4243
*/
4344
MIX_MUSIC,
4445

46+
/**
47+
* A mix made only of streams from (or related to) the same channel, for example YouTube
48+
* channel mixes
49+
*
50+
* @deprecated There is currently no service that implements this.
51+
* YouTube removed all playlists with this type around 2024-06
52+
*/
53+
@Deprecated
54+
MIX_CHANNEL,
55+
4556
/**
4657
* A mix made only of streams related to a particular (musical) genre, for example YouTube
4758
* genre mixes

0 commit comments

Comments
 (0)