-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* POST data sent in requests to "/play" and "/queue" API endpoints: - multiple lines can repeat the following key to declare more than one value: * content-location
- Loading branch information
1 parent
117e5ea
commit 7ac129c
Showing
7 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...k/exoplayer_airplay_receiver/service/playlist_extractors/SerializedPlaylistExtractor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.github.warren_bank.exoplayer_airplay_receiver.service.playlist_extractors; | ||
|
||
import com.github.warren_bank.exoplayer_airplay_receiver.utils.StringUtils; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class SerializedPlaylistExtractor { | ||
public ArrayList<String> expandPlaylist(String strUrl) { | ||
ArrayList<String> matches = StringUtils.deserializeURLs(strUrl); | ||
|
||
return ((matches == null) || (matches.size() < 2)) | ||
? null | ||
: matches; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters