Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [crashware] foo_input_mslive (Read 272976 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[crashware] foo_input_mslive

Reply #25
It doesn't seem to make much sense to expose your special HTTP/RTSP/MMS handling code as a filesystem service, if it's just used by your own code and even violates the contract for filesystem services. On the other hand, it is perfectly legal if an input implementation does not use the normal file/filesystem mechanism (see CDDA input).

[crashware] foo_input_mslive

Reply #26
It doesn't seem to make much sense to expose your special HTTP/RTSP/MMS handling code as a filesystem service, if it's just used by your own code and even violates the contract for filesystem services. On the other hand, it is perfectly legal if an input implementation does not use the normal file/filesystem mechanism (see CDDA input).

I know it doesn't make sense at all, because the file class my filesytem returns doesn't follow the specification, but I have no idea how to make foobar let my component to handle the file path like mms if I don't create/expose my weird filesystem.

[crashware] foo_input_mslive

Reply #27
Thanks for your great plugin! I always wanted something like this since I got foobar.

But is it possible that some streams don't already work? I just tested some an for example this one doesn't work:

Code: [Select]
http://www.bullheadcity.com/media/dragon2.asx


There appears just a popup "invalid asx playlist".
Nevertheless it's great to finally hear some of my favourite stations with foobar. 

[crashware] foo_input_mslive

Reply #28
Thanks for your great plugin! I always wanted something like this since I got foobar.

But is it possible that some streams don't already work? I just tested some an for example this one doesn't work:

Code: [Select]
http://www.bullheadcity.com/media/dragon2.asx


There appears just a popup "invalid asx playlist".
Nevertheless it's great to finally hear some of my favourite stations with foobar. 

I just found that even XML is case sensitive, asx seems to allow case insensitive tags (at least WMP does).
to improve compatibility, I will change it to case insensitive.

EDIT: ok, now your link can be played, but the duration is ignored.

[crashware] foo_input_mslive

Reply #29
Quote
EDIT: ok, now your link can be played, but the duration is ignored.

Thanks very much! Now it works.
And sorry if I bother you, but a mate just gave me two other links that even don't work with your new version but work in WMP.

The first is another asx-file: http://www.tv1.de/cms/_vm100/mdr1/sachsen_tv1.asx
(the error is "invalid asx playlist")

and the second is a wax: http://radioleipzig.stream.green.ch/radioleipzig.wax
(here appears "Unable to open item for playback (failed to open live stream): "wmp://http://radioleipzig.stream.green.ch/radioleipzig.wax"")

[crashware] foo_input_mslive

Reply #30
Quote
EDIT: ok, now your link can be played, but the duration is ignored.

Thanks very much! Now it works.
And sorry if I bother you, but a mate just gave me two other links that even don't work with your new version but work in WMP.

The first is another asx-file: http://www.tv1.de/cms/_vm100/mdr1/sachsen_tv1.asx
(the error is "invalid asx playlist")

and the second is a wax: http://radioleipzig.stream.green.ch/radioleipzig.wax
(here appears "Unable to open item for playback (failed to open live stream): "wmp://http://radioleipzig.stream.green.ch/radioleipzig.wax"")

the first one I'll leave it for the next release, because I have to reinstall xp=.=
probably I need to rewrite the xml parser too, because too much troubles with the current one.
the wax playlist support I think I will not implement.

EDIT: just give me the links that don't work with the current version (even the wax playlist).

[crashware] foo_input_mslive

Reply #31
EDIT: just give me the links that don't work with the current version (even the wax playlist).


You mean this?

Code: [Select]
mms://wm-ipx-05.stream.tv1.de/22001mdr1sachsen/live/3087mdr_sachsen/de_44.wma

Code: [Select]
mms://stream.green.ch/RadioLeipzig



[crashware] foo_input_mslive

Reply #34
I know it doesn't make sense at all, because the file class my filesytem returns doesn't follow the specification, but I have no idea how to make foobar let my component to handle the file path like mms if I don't create/expose my weird filesystem.
Just check for the "mms://" prefix in the g_is_our_path() method of your input implementation. I don't have access to the SDK while posting this, but feel free to ask if you need more details.

[crashware] foo_input_mslive

Reply #35
Cool, finally there it is.
Thanks a lot.

[crashware] foo_input_mslive

Reply #36
wmp://http://www.omroep.nl/radio1/live20.asx

gives me "invalid asx playlist".

Wow. This asx has nested asx'es. Endless possibilities.

[crashware] foo_input_mslive

Reply #37
I know it doesn't make sense at all, because the file class my filesytem returns doesn't follow the specification, but I have no idea how to make foobar let my component to handle the file path like mms if I don't create/expose my weird filesystem.
Just check for the "mms://" prefix in the g_is_our_path() method of your input implementation. I don't have access to the SDK while posting this, but feel free to ask if you need more details.

I was having an impression that for all other protocols that are not supported by foobar must have a file system for each of them, and when getting called into
open(service_ptr_t<file> p_filehint,const char * p_path,t_input_open_reason p_reason,abort_callback & p_abort)
the p_filehint must not be NULL, otherwise the input decoder will not get called, obviously I was wrong. I'll change my implementation, thanks for your info.

[crashware] foo_input_mslive

Reply #38
Acropolis, will there be a chance you could eventuelly make this plugin (or is it the job of columns playlist?) supporting playlist files? Example asx: As far as I can see, after adding a wmp:// url, your plugin first loads the asx file, reads it and then adds the resulting url(s) to the playlist. Can't this be done somehow internally? It would be great to only have the asx url in the playlist.

The problem:
http://www.br-online.de/streaming/bayern1/...rn1_m20_red.asx

will be constant, hopefully for a longer time.

But the foobar playlists will store the dynamic urls, which the asx resolves to:
mms://a600.l674024643.c6740.e.lm.akamaistream.net/D/600/6740/v0001/reflector:24643

Those regularly change  It's probably the mechanism of any streams which have a time limit.

[crashware] foo_input_mslive

Reply #39
Acropolis, will there be a chance you could eventuelly make this plugin (or is it the job of columns playlist?) supporting playlist files? Example asx: As far as I can see, after adding a wmp:// url, your plugin first loads the asx file, reads it and then adds the resulting url(s) to the playlist. Can't this be done somehow internally? It would be great to only have the asx url in the playlist.

The problem:
http://www.br-online.de/streaming/bayern1/...rn1_m20_red.asx

will be constant, hopefully for a longer time.

But the foobar playlists will store the dynamic urls, which the asx resolves to:
mms://a600.l674024643.c6740.e.lm.akamaistream.net/D/600/6740/v0001/reflector:24643

Those regularly change  It's probably the mechanism of any streams which have a time limit.

yes with my currently writing one. the old implementation didn't allow me to do it this way (probably I don't know a way).
I'm going to change the way it handles asx, it will be similar to cue sheet, with the new implementation of the input decoder.

[crashware] foo_input_mslive

Reply #40
yes with my currently writing one. the old implementation didn't allow me to do it this way (probably I don't know a way).
I'm going to change the way it handles asx, it will be similar to cue sheet, with the new implementation of the input decoder.
Good news! I'll stay silent until next release

[crashware] foo_input_mslive

Reply #41
hi there

i really like the idea of this plugin, and i was looking forward to it. unfortunately something doesn't work for me. or am i missing something?
i tried to listen to the following stream:
http://lsd.newmedia.tiscali-business.com/b...ve&media=ms

i also tried (even with that wmp:// prefix thing):
mms://213.200.75.252/sunshinelive$livestream.wma
but that didn't work either. can someone help me?
thanks

[crashware] foo_input_mslive

Reply #42
i also tried (even with that wmp:// prefix thing):
mms://213.200.75.252/sunshinelive$livestream.wma
but that didn't work either. can someone help me?
thanks
Well, it does not work in WMP9 as well. Tiscali tastes bad. Is this a stream which is supposed to run in a browser popup with an embedded WMP (and adverts around it)?

[crashware] foo_input_mslive

Reply #43
Is this a stream which is supposed to run in a browser popup with an embedded WMP (and adverts around it)?


exactly, you got it. i managed to get it work with WMP11, but it was just an advertising loop to be honest. but when i am able to listen to the stream via browser & plugin, it shouldn't be such a big problem to listen to it with WMP and even with foobar.
i'm not a fan of tisc$#| at all anyway....


[crashware] foo_input_mslive

Reply #45
have a look into the asx (asx is like a playlist format), the links you find there will work (I tested the mms:// one)

 

[crashware] foo_input_mslive

Reply #46
Hi Acropolis

Trying to connect to:

mms://stream.radio.com.pt/ROLI-ENC-124

which works fine in WMP and MPC but all I get is a conncting to server window with no action a nothing happens.

Tried other stations with same failure.

mms://stream.radio.com.pt/ROLI-ENC-201
wmp://mms://rdp.oninet.pt/antena1


Would appreciate your help

[crashware] foo_input_mslive

Reply #47
have a look into the asx (asx is like a playlist format), the links you find there will work (I tested the mms:// one)


Its Still nothing...

It buffering for 0.1s and doesnt playng but it shows file info like bitrate and channels...

[crashware] foo_input_mslive

Reply #48
i tried to listen to the following stream:
http://lsd.newmedia.tiscali-business.com/b...ve&media=ms

i also tried (even with that wmp:// prefix thing):
mms://213.200.75.252/sunshinelive$livestream.wma
but that didn't work either. can someone help me?
thanks

if wmp can't play, then this component can't play either, same core.

Trying to connect to:

mms://stream.radio.com.pt/ROLI-ENC-124

which works fine in WMP and MPC but all I get is a conncting to server window with no action a nothing happens.

Tried other stations with same failure.

mms://stream.radio.com.pt/ROLI-ENC-201
wmp://mms://rdp.oninet.pt/antena1

it works for me, probably your connection problem, this component works only with direct internet connection.
the links I've tried are:
wmp://mms://stream.radio.com.pt/ROLI-ENC-201
wmp://mms://rdp.oninet.pt/antena1

[Problem]
trying to listen http://www.polskieradio.pl/st/program3M.asx

[Error got:]

invalid asx playlist

the current version provides only a very very primitive support of asx, if the asx is not working, you need to find the direct link yourself.
I'm developing a new version, but these few weeks I'm very busy.


have a look into the asx (asx is like a playlist format), the links you find there will work (I tested the mms:// one)


Its Still nothing...

It buffering for 0.1s and doesnt playng but it shows file info like bitrate and channels...

the mms link in the asx works for me with prefix wmp://
if it enters the stage of buffering, that means most likely it is the problem between the connection of the server and your computer.

[crashware] foo_input_mslive

Reply #49
it works for me, probably your connection problem, this component works only with direct internet connection.


There's the reason - my access is through a router. Shame

Thanks anyway