Bluebull32 17 Posted January 26, 2015 Share Posted January 26, 2015 What is the status of the video playlist capability? I see in the release notes for 1.78 report that video playlists are working, but I am using version 1.79 and can't get playlists to work. My workflow: - Create a video playlist with Media Browser server. All videos are "direct play" mp4. - The roku app finds the playlist. - When played, the first video plays through, then I get kicked out of the app. Does anyone else here have video playlists working for them? Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 26, 2015 Share Posted January 26, 2015 They should work fine. Can you install the .zip file version and get a log from the roku? Instructions are here: http://mediabrowser.tv/community/index.php?/topic/16251-how-to-obtain-a-log-from-the-media-browser-roku-client/ Thanks. Link to comment Share on other sites More sharing options...
Bluebull32 17 Posted January 26, 2015 Author Share Posted January 26, 2015 No problem. Here are the logs from around the point of failure. I can give you the more complete logs from the launch of the app if you like. Count loaded is now 3 out of 3Loaded 3 elements in row 3, now have 3Entered CreateScreenForItemCalling createVideoSpringboardScreenPushing screen 7 onto view controller stack - VideoSpringboardScreen67e9c9ff48d22cbac10e6aa7f0045d6fGetting metadata for Id 67e9c9ff48d22cbac10e6aa7f0045d6fBRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/VideoMetadata.brs(246)Setting video springboard screen contentShowing video springboard screenButton command: playGetItemsForPlayback item.ContentType=PlaylistNot sure what to do with breadcrumbs on screen type: InvalidPushing screen 8 onto view controller stack - Video PlayerMediaPlayer::playVideo: Displaying video: Box-1Getting metadata for Id 6d0e4b53c64c8e633489d26e14ac6815Media item container: mp4Media item video codec: h264Media item audio codec: aacMedia item subtitles: invalidMedia item stereo codec: aacMedia item surround codec: invalidSecondary audio stream selected: falseSetting PlayStart to 0Starting to direct play videoMediaPlayer::playVideo::VideoScreenEvent::isStreamStarted: position -> 0Message data -> roAssociativeArrayMediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 0MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 1MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 2MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 3MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 4MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 5MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 6MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 7MediaPlayer::playVideo::VideoScreenEvent::isStreamStarted: position -> 7Message data -> roAssociativeArrayMediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 8MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 9MediaPlayer::playVideo::VideoScreenEvent::isFullResult: position -> 9MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 9MediaPlayer::playVideo: Displaying video: Lip-1Getting metadata for Id eb4ed5067251a6d739dcf3fdc87e5a86BrightScript Micro Debugger.Enter any BrightScript statement, debug commands, or HELP.Current Function:241: Function getPlaybackStreamInfo(item, options) as Object242:243: streams = []244:245: ' Create streams for each media source246: for each source in item.MediaSources247:* if options.MediaSourceId = invalid OR source.Id = options.MediaSourceId then248:249: streams.push(getStreamInfo(source, options))250: end if251:Syntax Error. (runtime error &h02) in pkg:/source/VideoMetadata.brs(247)247: if options.MediaSourceId = invalid OR source.Id = options.MediaSourceId thenBacktrace:#8 Function getplaybackstreaminfo(item As Dynamic, options As Dynamic) As Object file/line: pkg:/source/VideoMetadata.brs(247)#7 Function addvideoplaybackinfo(item As Dynamic, options As Dynamic) As Void file/line: pkg:/source/VideoMetadata.brs(110)#6 Function getfullitemmetadata(item As Dynamic, isforplayback As Boolean, options As Object) As Object file/line: pkg:/source/GeneralMetadata.brs(1060)#5 Function videoplayerconstructvideoitem(item As Dynamic, options As Dynamic)As Object file/line: pkg:/source/VideoPlayer.brs(511)#4 Function videoplayercreatevideoplayer(item As Dynamic, playoptions As Dynamic) As Dynamic file/line: pkg:/source/VideoPlayer.brs(163)#3 Function videoplayershow() As Void file/line: pkg:/source/VideoPlayer.brs(128)#2 Function videoplayerhandlemessage(msg As Dynamic) As Boolean file/line: pkg:/source/VideoPlayer.brs(226)#1 Function vcshow() As Void file/line: pkg:/source/ViewController.brs(458)#0 Function main() As Void file/line: pkg:/source/appMain.brs(20)Local Variables:item roAssociativeArray refcnt=3 count:34options bsc:roInvalid refcnt=3global rotINTERFACE:ifGlobalm roAssociativeArray refcnt=5 count:35streams roArray refcnt=1 count:0source roAssociativeArray refcnt=2 count:16stream <uninitialized>BrightScript Debugger> Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 26, 2015 Share Posted January 26, 2015 how did you initially play the playlist? e.g. what steps in the interface Link to comment Share on other sites More sharing options...
Bluebull32 17 Posted January 27, 2015 Author Share Posted January 27, 2015 There is a row on the main (top level directory) screen dedicated to playlists. The way I have it configured, I have "Folders" on the top row, and playlists are the row below that. I have three playlists in the row. I navigate down to the playlist row, then over to the playlist that I want to test, and click "OK". Then the screen for that playlist pops up with a poster icon for the playlist, and I am given the options "Play" or "More". I leave the cursor on "Play" and click "OK". The first video in the list plays to finish, then the app crashes. Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 27, 2015 Share Posted January 27, 2015 please try the latest zip and report back. thanks. Link to comment Share on other sites More sharing options...
Bluebull32 17 Posted January 27, 2015 Author Share Posted January 27, 2015 I loaded the latest zip from Github. It looks like it's failing in the same place. Count loaded is now 23 out of 23Loaded 23 elements in row 3, now have 23Entered CreateScreenForItemCalling createVideoSpringboardScreenPushing screen 2 onto view controller stack - VideoSpringboardScreen67e9c9ff48d22cbac10e6aa7f0045d6fGetting metadata for Id 67e9c9ff48d22cbac10e6aa7f0045d6fBRIGHTSCRIPT: ERROR: Runtime: FOR EACH value is Invalid: pkg:/source/VideoMetadata.brs(246)Setting video springboard screen contentShowing video springboard screenButton command: playGetContextForPlayback item.ContentType=PlaylistNot sure what to do with breadcrumbs on screen type: InvalidPushing screen 3 onto view controller stack - Video PlayerMediaPlayer::playVideo: Displaying video: Box-1Getting metadata for Id 6d0e4b53c64c8e633489d26e14ac6815Media item container: mp4Media item video codec: h264Media item audio codec: aacMedia item subtitles: invalidMedia item stereo codec: aacMedia item surround codec: invalidSecondary audio stream selected: falseSetting PlayStart to 0Starting to direct play videoMediaPlayer::playVideo::VideoScreenEvent::isStreamStarted: position -> 0Message data -> roAssociativeArrayMediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 0MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 1MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 2MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 3MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 4MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 5MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 6MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 7MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 8MediaPlayer::playVideo::VideoScreenEvent::isPlaybackPosition: set progress -> 9MediaPlayer::playVideo::VideoScreenEvent::isFullResult: position -> 9MediaPlayer::playVideo::VideoScreenEvent::isScreenClosed: position -> 9MediaPlayer::playVideo: Displaying video: Lip-1Getting metadata for Id eb4ed5067251a6d739dcf3fdc87e5a86Current Function:241: Function getPlaybackStreamInfo(item, options) as Object242:243: streams = []244:245: ' Create streams for each media source246: for each source in item.MediaSources247:* if options.MediaSourceId = invalid OR source.Id = options.MediaSourceId then248:249: streams.push(getStreamInfo(source, options))250: end if251:Syntax Error. (runtime error &h02) in pkg:/source/VideoMetadata.brs(247)247: if options.MediaSourceId = invalid OR source.Id = options.MediaSourceId thenBacktrace:#8 Function getplaybackstreaminfo(item As Dynamic, options As Dynamic) As Object file/line: pkg:/source/VideoMetadata.brs(247)#7 Function addvideoplaybackinfo(item As Dynamic, options As Dynamic) As Void file/line: pkg:/source/VideoMetadata.brs(110)#6 Function getfullitemmetadata(item As Dynamic, isforplayback As Boolean, options As Object) As Object file/line: pkg:/source/GeneralMetadata.brs(1060)#5 Function videoplayerconstructvideoitem(item As Dynamic, options As Dynamic)As Object file/line: pkg:/source/VideoPlayer.brs(511)#4 Function videoplayercreatevideoplayer(item As Dynamic, playoptions As Dynamic) As Dynamic file/line: pkg:/source/VideoPlayer.brs(163)#3 Function videoplayershow() As Void file/line: pkg:/source/VideoPlayer.brs(128)#2 Function videoplayerhandlemessage(msg As Dynamic) As Boolean file/line: pkg:/source/VideoPlayer.brs(226)#1 Function vcshow() As Void file/line: pkg:/source/ViewController.brs(458)#0 Function main() As Void file/line: pkg:/source/appMain.brs(20)Local Variables:item roAssociativeArray refcnt=3 count:34options bsc:roInvalid refcnt=3global rotINTERFACE:ifGlobalm roAssociativeArray refcnt=5 count:28streams roArray refcnt=1 count:0source roAssociativeArray refcnt=2 count:16stream <uninitialized>BrightScript Debugger> Link to comment Share on other sites More sharing options...
Bluebull32 17 Posted January 28, 2015 Author Share Posted January 28, 2015 I submitted a pull request over at GitHub. The code change fixes it (sorta) on my end. The reason that I say "sorta", is because it still buffers between videos. It would be optimal to play a constant stream, but I think that would require using roVideoPlayer instead of roVideoScreen, so that's more involved. Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 28, 2015 Share Posted January 28, 2015 Thanks! I don't see the pull request but i'll check it out once submitted. As far as roVideoPlayer, we used to use that but it doesn't allow 1080p (or at least didn't at the time). So that's why we switched to the plain roVideoScreen. Link to comment Share on other sites More sharing options...
speechles 1917 Posted January 28, 2015 Share Posted January 28, 2015 (edited) roVideoPlayer can do 1080p by setting quality to true. The show-stopper appears to be ShowSubtitle is ignored for roVideoPlayer. http://sdkdocs.roku.com/display/sdkdoc/Content+Meta-Data The URL above appears updated more than any others. Edited January 28, 2015 by speechles Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 28, 2015 Share Posted January 28, 2015 I submitted a pull request over at GitHub. The code change fixes it (sorta) on my end. The reason that I say "sorta", is because it still buffers between videos. It would be optimal to play a constant stream, but I think that would require using roVideoPlayer instead of roVideoScreen, so that's more involved. I've made an adjustment. Please give it a whirl and if it checks out ok for you then i'll push a beta. thanks. Link to comment Share on other sites More sharing options...
Bluebull32 17 Posted January 28, 2015 Author Share Posted January 28, 2015 I tried the latest zip, and everything looks good. Thanks for your help. 1 Link to comment Share on other sites More sharing options...
Luke 37065 Posted January 28, 2015 Share Posted January 28, 2015 Well done thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now