Kodi Community Forum
.STRM file BUG - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: .STRM file BUG (/showthread.php?tid=108734)



Stream-file & EDL BUG - PKOneTwo - 2011-08-26

I don't know if someone recognized this, but:

Say you have a drive D and a folder Media, ex. D:\Media\ and a file called: sopcast.strm (which has the adress: http:\\127.0.0.1:8902\stream).
The fullpath would be: D:\Media\sopcast.strm.

Now if i try to open it, the path that XBMC tries to open is:
D:\Media\http:\\127.0.0.1:8902\stream

from log: ERROR: CDVDPlayer::OpenInputStream - error opening [D:\Media\http:\\127.0.0.1:8902\stream]

I seens this phenomenon since a few weeks now. Before (since xbmc in xbox until xbmc 10.1 worked fin, why shouldn't it. Even in the Wiki it is the way you should go:
http://wiki.xbmc.org/index.php?title=HOW-TO_play_internet_video_and_audio_streams

Is this a real bug?

PS: this could even be a problem for some plugins!!!!


- PKOneTwo - 2011-08-26

Second thing (I don't know if i should open another thread for this bug):

If i'm right, XBMC tries ro read the WHOLE Stream (stupid as it sounds):

I open the adress (http:\\127.0.0.1:8902\stream) which is a sopcast stream. It loads and loads and loads, and load. The xbmc.log becomes bigger and bigger (20MB and up) with the error:
21:29:58 T:1896 WARNING: CEdl::ReadEdl - Error on line 46807 in EDL file: http://127.0.0.1:8902/stream.edl


- spiff - 2011-08-29

one thread per issue.

and neither of these should be in the dev forum!

finally, \ in http urls? wtf.


- jhsrennie - 2011-08-29

I suspect the backslash is fooling XBMC into thinking that the strm contains a directory name. If you use forward slash the stream plays as expected.

Backslash doesn't cause problems in v10.1, but it does in the currently nightly builds. Exactly when the change took effect I don't know, though there have been changes to the virtual file system.

JR


- spiff - 2011-08-29

well, i'd consider it a bug fix...


- PKOneTwo - 2011-08-29

spiff Wrote:one thread per issue.

and neither of these should be in the dev forum!

finally, \ in http urls? wtf.

@spiff: my mistake, was a typo:

BUG1:
I try to play a file!
Adress: http://127.0.0.1:8902/stream (put in sopcast.strm)
Filename: sopcast.strm
Path: D:\Media\sopcast.strm


Trying to play, debug log says: ERROR: CDVDPlayer::OpenInputStream - error opening [D:\Media\http:\\127.0.0.1:8902\stream]
here the full LOG: http://pastebin.com/GWhsBVH8
So xbmc IS trying to play D:\Media\http:\\127.0.0.1:8902\stream WHICH obviously cannot exist!!!

BUG 2:
I try to play the adress (http://127.0.0.1:8902/stream) directly:
loads, and loads and loads!
Here the log: http://pastebin.com/ZD9h2hv5

@ spiff: Since this both belongs together i put them into one thread, but if it suits you, devide them into two thread!

It must be a bug, since i have been using this adress and method for 6 years no! SINCE XBMCon XBOX. Lately in XBMC nightlies it doesn't work anymore! So I think it is a bug!
I still think it belongs in Developement, but look for yourself in the logs!


- jhsrennie - 2011-08-30

Ahhh, there is a bug here. http://127.0.0.1:8902/stream gives the error PKOneTwo describes, but http://127.0.0.2:8902/stream, or indeed any other IP address does not (though of course it times out). There must be something odd about the way XBMC is handling the loopback address.

I'll have a look at this and I'll put in a ticket if I can't see the reason for the problem.

@PKOneTwo, in the mean time you can make this work by putting in the IP address of your PC not the loopback address.

JR


- jhsrennie - 2011-08-30

See 388 (PR)

Thanks PKOneTwo. Well spotted!

JR


- PKOneTwo - 2011-08-30

jhsrennie Wrote:See 388 (PR)

Thanks PKOneTwo. Well spotted!

JR

Thank you and no problem at all :-)


RE: .STRM file BUG - tocinillo - 2012-03-22

Bump this bug, now appears on Eden RC2 when I try to play sopcast streams:

17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 1 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 2 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 3 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 4 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 5 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 6 in EDL file: http://localhost:9001/.edl
17:51:45 T:2838494064 WARNING: ReadEdl - Error on line 7 in EDL file: http://localhost:9001/.edl
etc.

All is working fine in Dharma. More info in: http://forum.xbmc.org/showthread.php?tid=115759

Thanks!


RE: .STRM file BUG - jmarshall - 2012-03-22

spiff has a fix on the way for this by the looks: PR801.