.STRM file BUG
#1
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...io_streams

Is this a real bug?

PS: this could even be a problem for some plugins!!!!
Reply
#2
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
Reply
#3
one thread per issue.

and neither of these should be in the dev forum!

finally, \ in http urls? wtf.
Reply
#4
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
Reply
#5
well, i'd consider it a bug fix...
Reply
#6
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!
Reply
#7
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
Reply
#8
See 388 (PR)

Thanks PKOneTwo. Well spotted!

JR
Reply
#9
jhsrennie Wrote:See 388 (PR)

Thanks PKOneTwo. Well spotted!

JR

Thank you and no problem at all :-)
Reply
#10
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!
Reply
#11
spiff has a fix on the way for this by the looks: PR801.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
.STRM file BUG0