Video not playing after scraping
#1
Question 
Hi,
I have a small problem with the newest Kodi beta2 on RPi3 using LibreElec (latest alpha .006).
I connect to my http-Server with movies. It is of course password protected. I can add the source and play from the source directly (in "Videos"). Log looks like this:

17:56:18 557.756348 T:1962340352 NOTICE: VideoPlayer: Opening: http://USERNAME:[email protected]:port/folder/videoname.avi
17:56:18 557.756409 T:1962340352 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
17:56:18 557.757080 T:1874850720 NOTICE: Creating InputStream
17:56:18 557.771240 T:1874850720 NOTICE: Creating Demuxer
17:56:19 558.455750 T:1874850720 NOTICE: Opening stream: 0 source: 256
17:56:19 558.473694 T:1874850720 NOTICE: Creating video thread
17:56:19 558.473938 T:1874850720 NOTICE: Opening stream: 1 source: 256
17:56:19 558.541321 T:1874850720 NOTICE: Creating audio thread
17:56:19 558.625244 T:1962340352 NOTICE: Display resolution ADJUST : 1280x720 (1280x720) @ 50.00 - Full Screen (34) (weight: 0.000)
17:56:19 558.628113 T:1874850720 NOTICE: OMXClock using audio as reference

USERNAME and PASSWORD are not changed (this does appear as this in the log so there are not the real username and passwords that are used). Video does play fine.

However after scraping (which works fine for all the movies) and trying to open the movie from the "Movies"-Folder, the log says:

17:51:14 253.917740 T:1962340352 NOTICE: VideoPlayer: Opening: http://USERNAME:[email protected]:post/folder/videoname.avi
17:51:14 253.917816 T:1962340352 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
17:51:14 253.928329 T:1401803680 NOTICE: Creating InputStream
17:51:15 254.052109 T:1401803680 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
17:51:15 254.052246 T:1401803680 ERROR: CCurlFile::Open failed with code 401 for http://url.net/folder/videoname.avi
17:51:15 254.052338 T:1401803680 ERROR: Open - failed to open source <http://url.net:port/folder/videoname.avi>
17:51:15 254.052399 T:1401803680 ERROR: CVideoPlayer::OpenInputStream - error opening [http://REAL_USERNAME:[email protected]:port/folder/videoname.avi]
17:51:15 254.052429 T:1401803680 NOTICE: CVideoPlayer::OnExit()
17:51:15 254.052719 T:1962340352 ERROR: Playlist Player: skipping unplayable item: 0, path [http://USERNAME:[email protected]:port/folder/videoname.avi]
17:51:15 254.060104 T:1962340352 NOTICE: CVideoPlayer::CloseFile()

Again USERNAME and PASSWORD appear as this, but REAL_USERNAME and REAL_PASSWORD (4th line from the bottom) are the actual username and password. Note that two lines above the port is missing in the Error Message. So it plays from the source but not after scraping from the other location. This does not make sense for me. :-)

I know this is rather specific but maybe it helps the developers. Is this a Kodi problem or a LibreElec problem?

Thanks for your help!
Reply
#2
Hey,
I just wanted to push this one. Kodi v17 beta 3 does not fix this... I don't know if it's a Kodi problem or a LibreElec problem but with LibreElec versions smaller than 7.9.006 everything works. I'd say it's a Kodi bug,

Short summary:
Videos from a http-Server are scraped fine and can be played from the "Videos" source, but when I go to the scraped "Movies" or "TV Shows" the files do not play anymore with the error log provided above.
Another user has the same problem here: https://forum.libreelec.tv/thread-1767.html

Thanks for your help. Kodi v17 is awesome!
Reply
#3
Code:
17:51:14 253.917740 T:1962340352 NOTICE: VideoPlayer: Opening: http://USERNAME:[email protected]:post/folder/videoname.avi
Presumably ":post" is a typo?

It's hard to say what might be causing this, as it requires someone to reproduce it using a similarly authenticated server.

In the absence on any further replies your best bet might be to pin down more precisely when the problem started - you can do this by testing with milhouse nightly builds and identify the first build with the problem (yes, slow and tedious I know but sometimes your best/only hope).

LibreELEC 7.90.005 would approximate to build #0820 so start with that build and work forwards (ie. #0821) or backwards (ie. #0819) until you find the first build with your problem. Then we can look into what changed in that build.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#4
(2016-10-22, 18:27)Milhouse Wrote:
Code:
17:51:14 253.917740 T:1962340352 NOTICE: VideoPlayer: Opening: http://USERNAME:[email protected]:post/folder/videoname.avi
Presumably ":post" is a typo?
Yes, it should be "port" not "post"
Quote:LibreELEC 7.90.005 would approximate to build #0820 so start with that build and work forwards (ie. #0821) or backwards (ie. #0819) until you find the first build with your problem. Then we can look into what changed in that build.

OK, nailed it down to build #827, build #826 works fine but #827 breaks it. With all builds I can play from the "Videos --> Files" option, but the scraped "movies" and "tv shows" stop working with #827.
It's a http webserver, I would guess there is a port missing in the link in the scraped version or the username/password variables are broken.

I hope this helps, I can also provide more information / logs if needed.

Thanks for your support! Love it!
Reply
#5
I guess that would be due to PR10236, please create a ticket on trac.kodi.tv.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#6
(2016-10-24, 11:27)Milhouse Wrote: I guess that would be due to PR10236, please create a ticket on trac.kodi.tv.

OK thanks for narrowing it down.
Ticket is here: http://trac.kodi.tv/ticket/17005
Reply

Logout Mark Read Team Forum Stats Members Help
Video not playing after scraping0