Solved strm files
#16
(2018-03-16, 16:16)jjd-uk Wrote: The fix has been merged so will be included in tomorrows nightly builds.

I don't see the nightly under win64. It's there under win32 and others. Normal?
Reply
#17
Looks like x64 version failed to build.
Reply
#18
I've installed the 32 bit version for now.

@FernetMenta 
So, strm seem to work now with play next.
Quote:18:36:56.951 T:4596  NOTICE: VideoPlayer::OpenFile: videodb://tvshows/titles/1/24/42?season=24&tvshowid=1
18:36:56.952 T:13668  NOTICE: Creating InputStream
18:36:56.972 T:13668  NOTICE: Creating Demuxer
18:36:56.975 T:13668   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, T:\TV\America's Next Top Model\Season 24\America's Next Top Model - 24x09 Beauty Is Movement.strm
18:36:56.975 T:13668  NOTICE: Opening stream: 0 source: 256
18:36:56.975 T:13668  NOTICE: Creating video codec with codec id: 28
18:36:56.975 T:13668  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:36:56.975 T:13668  NOTICE: Creating video thread
18:36:56.976 T:13668  NOTICE: Opening stream: 1 source: 256
18:36:56.976 T:13668  NOTICE: Finding audio codec for: 86018
18:36:56.976 T:1616  NOTICE: running thread: video_thread
18:36:56.976 T:13668  NOTICE: Creating audio thread
18:36:56.976 T:2100  NOTICE: running thread: CVideoPlayerAudio::Process()
18:36:56.976 T:2100  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
18:36:56.994 T:4596  NOTICE: DXVA::CProcessorHD::InitProcessor: Supported deinterlace methods: Blend:yes, Bob:yes, Adaptive:yes, MoComp:no.
18:36:56.994 T:4596 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
18:36:57.344 T:1616  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
18:36:59.660 T:4596  NOTICE: CVideoPlayer::CloseFile()
18:36:59.660 T:4596  NOTICE: VideoPlayer: waiting for threads to exit
18:36:59.667 T:13668  NOTICE: CVideoPlayer::OnExit()
But no longer play with play next disabled.
Quote:18:25:13.395 T:4596   ERROR: Playlist Player: skipping unplayable item: 0, path [T:\TV\America's Next Top Model\Season 24\America's Next Top Model - 24x09 Beauty Is Movement.strm]
18:25:21.023 T:4596  NOTICE: VideoPlayer::OpenFile: T:\TV\America's Next Top Model\Season 24\America's Next Top Model - 24x09 Beauty Is Movement.mkv
18:25:21.024 T:15164  NOTICE: Creating InputStream
18:25:21.039 T:15164  NOTICE: Creating Demuxer
18:25:21.043 T:15164   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, T:\TV\America's Next Top Model\Season 24\America's Next Top Model - 24x09 Beauty Is Movement.strm
18:25:21.043 T:15164  NOTICE: Opening stream: 0 source: 256
18:25:21.043 T:15164  NOTICE: Creating video codec with codec id: 28
18:25:21.043 T:15164  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
18:25:21.043 T:15164  NOTICE: Creating video thread
18:25:21.043 T:15164  NOTICE: Opening stream: 1 source: 256
18:25:21.043 T:15164  NOTICE: Finding audio codec for: 86018
18:25:21.043 T:7824  NOTICE: running thread: video_thread
18:25:21.044 T:15164  NOTICE: Creating audio thread
18:25:21.044 T:4556  NOTICE: running thread: CVideoPlayerAudio::Process()
18:25:21.044 T:4556  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
18:25:21.091 T:4596  NOTICE: DXVA::CProcessorHD::InitProcessor: Supported deinterlace methods: Blend:yes, Bob:yes, Adaptive:yes, MoComp:no.
18:25:21.091 T:4596 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
18:25:21.441 T:7824  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
18:25:22.707 T:4596  NOTICE: CVideoPlayer::CloseFile()
18:25:22.707 T:4596  NOTICE: VideoPlayer: waiting for threads to exit
18:25:22.715 T:15164  NOTICE: CVideoPlayer::OnExit()
Reply
#19
Also, I'm not certain plugin url work with strm. I put a plugin url inside the strm, and it seems to error out. Could be related to my previous post. Let me know if you'd rather have full debug. I'm just quickly testing.
Quote:00:57:09.662 T:13140  NOTICE: VideoPlayer::OpenFile: videodb://tvshows/titles/23/1/1313?season=1&tvshowid=23
00:57:09.663 T:3108  NOTICE: Creating InputStream
00:57:09.663 T:3108 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby/?mode=play&id=5390b68e7789a4fef43dfd701cde290b    <----- url inside strm
00:57:09.663 T:3108   ERROR: CVideoPlayer::OpenInputStream - error opening [videodb://tvshows/titles/23/1/1313?season=1&tvshowid=23]
Reply
#20
An additional fix for strm was done yesterday after a report of an addon issue, so make sure to nightly from today. Just looked and both 32 & 64 bit look to have built ok and are available.
Reply
#21
(2018-03-18, 11:32)jjd-uk Wrote: An additional fix for strm was done yesterday after a report of an addon issue, so make sure to nightly from today. Just looked and both 32 & 64 bit look to have built ok and are available.
 Thank you! Yes, it seems to be working with today's version. I will keep testing Smile
Reply
#22
Edit: Opened a new thread for a strm related issue regarding information dialog not working for them: 
https://forum.kodi.tv/showthread.php?tid=329853
Reply
#23
Well this is disappointing, I didn't realize strm files were not compatible with the play next video automatically Kodi setting. So even if the file now plays, it stops playback completely once the end of the video is reached. Sad

I have strm files mixed in with regular videos and it just won't play nice. It'll play all in a row, play the strm file and stop instead of moving on to the next item on the playlist.
Reply
#24
(2018-04-02, 12:27)angelblue05 Wrote: Well this is disappointing, I didn't realize strm files were not compatible with the play next video automatically Kodi setting. So even if the file now plays, it stops playback completely once the end of the video is reached. Sad

I have strm files mixed in with regular videos and it just won't play nice. It'll play all in a row, play the strm file and stop instead of moving on to the next item on the playlist.
 Maybe you can fix it by not making a strm file with a single item a playlist.
Reply
#25
Yes, that sounds about right. I don't know how to check if it has a single item but I'm sure I can figure it out looking at the code Smile

Thank you!

Edit: I think a lot of the issues I've faced is because strm are treated as playlist when maybe a new format should have been used for playlist and leave strm file as a single item type of file. The mix match caused strm file to stop behaving as any other video file. Or adding an extra tag to the filename to allow for differentiation between the two.
Reply
#26
(2018-04-02, 23:37)angelblue05 Wrote: Yes, that sounds about right. I don't know how to check if it has a single item but I'm sure I can figure it out looking at the code Smile

Thank you!

Edit: I think a lot of the issues I've faced is because strm are treated as playlist when maybe a new format should have been used for playlist and leave strm file as a single item type of file. The mix match caused strm file to stop behaving as any other video file. Or adding an extra tag to the filename to allow for differentiation between the two.
 Let's stop treating strm as playlists. Can you PR this change?
Reply
#27
@FernetMenta 

I've done so, compiled and then saw that more needs to be done, because it seems that if strm is not treated as a playlist then the file never gets read or it's not passing the right stuff to the video player. I'll probably need you to have a look as I'm still very new to C++. Sorry Sad
Reply
#28
@FernetMenta 

So I had a look again without treating strm file as playlist. I feel like I'm getting closer but now I don't know how to fix this one. It seems to be missing the IsPlugin() /expand and re-run step, but I just don't know where to add it. When strm is treated as a playlist, the plugin path resolves correctly, but it also clears the current playlist. I just can't win :) It feels like the plugin result should be resolved prior to the GetPlayers function, but again I'm new at this - feeling my way through. Any tips?
Quote:04:57:40.078 T:10828   DEBUG: CInputManager::HandleKey: return (0xf00d) pressed, action is Select
04:57:40.079 T:10828   DEBUG: CGUIMediaWindow::GetDirectory (videodb://tvshows/titles/23/1/?tvshowid=23)
04:57:40.079 T:10828   DEBUG:   ParentPath = [videodb://tvshows/titles/23/]
04:57:40.092 T:10828   DEBUG: WindowVideoNav::GetDirectory
04:57:40.117 T:972   DEBUG: Thread BackgroundLoader start, auto delete: false
04:57:40.131 T:972   DEBUG: Thread BackgroundLoader 972 terminating
04:57:41.061 T:10828   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
04:57:41.146 T:10828   DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
04:57:41.146 T:10828   DEBUG: CInputManager::HandleKey: return (0xf00d) pressed, action is Select
04:57:41.151 T:16088   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
04:57:41.151 T:16088   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
<previous line repeats a few more time>
04:57:41.153 T:10828   DEBUG: CFileCache::Open - opening <emby/Kodi/tvshows/2743e484bf010684a8d6a4923ee051e9/1/5390b68e7789a4fef43dfd701cde290b/file.strm> using cache
04:57:41.154 T:10828   DEBUG: CurlFile::Open(0x18a1d32f5d0) http://192.168.0.190:8096/emby/Kodi/tvsh...+Pilot.mkv
04:57:41.154 T:10828    INFO: XCURL::DllLibCurlGlobal::easy_acquire - Created session to http://192.168.0.190
04:57:41.157 T:4736   DEBUG: Thread FileCache start, auto delete: false
04:57:41.157 T:4736    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
04:57:41.157 T:4736   DEBUG: Thread FileCache 4736 terminating
04:57:41.157 T:16088   DEBUG: CAnnouncementManager - Announcement: OnRemove from xbmc
04:57:41.157 T:16088   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnRemove
04:57:41.157 T:16088   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
04:57:41.157 T:16088   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
04:57:41.174 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers(videodb://tvshows/titles/23/1/1314?season=1&tvshowid=23)
04:57:41.174 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
04:57:41.174 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
04:57:41.174 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
04:57:41.175 T:10828   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
04:57:41.175 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
04:57:41.175 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
04:57:41.175 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
04:57:41.175 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
04:57:41.175 T:10828   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
04:57:41.176 T:10828   DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
04:57:41.176 T:10828  NOTICE: VideoPlayer::OpenFile: videodb://tvshows/titles/23/1/1314?season=1&tvshowid=23
04:57:41.177 T:10828   DEBUG: CApplication::OnPlayBackStarted: CApplication::OnPlayBackStarted
04:57:41.177 T:7156   DEBUG: Thread VideoPlayer start, auto delete: false
04:57:41.177 T:7156  NOTICE: Creating InputStream
04:57:41.178 T:7156 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby/?mode=play&id=5390b68e7789a4fef43dfd701cde290b
04:57:41.178 T:7156   ERROR: CVideoPlayer::OpenInputStream - error opening [videodb://tvshows/titles/23/1/1314?season=1&tvshowid=23]
04:57:41.178 T:7156  NOTICE: CVideoPlayer::OnExit()
Reply
#29
what exaclty is the scanario? are you saying that you have plugin:// inside a strm file?
Reply
#30
(2018-04-08, 10:17)FernetMenta Wrote: what exaclty is the scanario? are you saying that you have plugin:// inside a strm file?


Yes that is exactly right.
Reply

Logout Mark Read Team Forum Stats Members Help
strm files0