Archive for December, 2006

foo_input_mslive version 0.2 released

plese report if this component works for you
請留言你是否能成功使用這個插件

Major Changes

  • the prefix has changed to “mslive://”, e.g “mslive://mms://www.radio.com/stream”
  • any media types can be tried to play with this component as long as the prefix is specified
  • for mms and rtsp, the prefix can be omitted
  • no more *.pls support, now only asx playlist is supported
  • no more implementation of filesystem, so problems related to that are gone

New Things

  • status/buffering dialog now is modeless, like the foobar preference dialog
  • support unicode/utf-8/ansi asx playlist (both read and write)
  • cue sheet like handling of asx playlist
  • fully support of asx/wax/wvx (virtually the same), even those do not follow the asx specification
  • support of asx playlist tagging (only “ARTIST”, “TITLE” and “COPYRIGHT”)

live stream
for mms and rtsp, because at the moment there are no components to handle them, it is safe to omit the mslive prefix.
so “mslive://mms://www.radio.com/stream” and “mms://www.radio.com/stream” are basically the same, unless any future components come in to take over, this will do well. but you must add the prefix for http stream.
so I suggest when playing http mp3 stream, use the default decoder, and when playing wma/asf stream, use this component.

like this:
“http://www.radio.com/stream.mp3″
“mslive://http://www.radio.com/stream.wma”

and remember, no tagging support

asx playlist
for local asx, the prefix is optional, you can just drag & drop it to foobar.
although if you don’t specify the prefix, it will still work for asx retrieved from http, it may just show one entry, which can be more than this, so I suggest you to specify it.

tagging is only supported for the meta data of “ARTIST”, “TITLE” and “COPYRIGHT” (as asx elements).
and while you are playing, you can’t tag, because you can’t seek.
after tagging, the ENTRYREF elements in the asx will be resolved as the actual ENTRY, and even if the asx file is just referencing urls, the tagged output file will be a valid asx file

Conclusion
if you want to explicitly use this component to play, you must add the prefix.
and if you are confused by when to use the prefix, that’s fine, just prefix “mslive://” anytime you need to use this component.

Happy Streaming~

重大改動

  • 舊有的前置標籤改為”mslive://”, 例如: “mslive://mms://www.radio.com/stream”
  • 任何媒體檔皆可以利用前置標籤來嘗試播放
  • 如果是mms或rtsp, 前置標籤可以省略
  • 不再支援*.pls, 現只支援asx

新東西

  • 狀態/緩衝對話框現在跟foobar的設置對話框一樣為非強制回應
  • 支援unicode/utf-8/ansi的asx播放列表
  • 和cue sheet相似的asx 播放列表處理方法
  • 完全支援asx/wax/wvx播放列表 (基本上一樣的東西), 那些不依規格的asx也基本上支援
  • 支援修改asx標籤 (僅 “ARTIST”, “TITLE” 和 “COPYRIGHT” 可修改)
  • 不再以filesystem的方法處理協議, 所以相關的問題沒有了


對於mms和rtsp的流, 前置標籤是可以省略的, 因為現在沒有插件支援它們, 所以foobar一定會找這個插件來播放. 除非在未來的日子有其他插件介入, 你可以一直省略前置標籤.
在目前, “mslive://mms://www.radio.com/stream” 和 “mms://www.radio.com/stream” 基本上一樣.
但是對於http的流, 就一定要有前置標籤. 我個人建議播放mp3流用回foobar本身的解碼, 對於wma/asf流就用我這個解碼. 即是:

http://www.radio.com/stream.mp3

mslive://http://www.radio.com/stream.wma

還有是修改標籤不適用於流

asx 播放列表
對於本機asx, 前置標籤可有可無, 你可以拖asx到foobar
雖然就算你不使用前置標籤, 也沒有播放上的問題, 但是如果asx內裝有不止一個曲目, 沒有使用前置標籤的, 只會顯示出一個, 這是foobar的http處理器的問題, 所以我建議你還是用好一點.

修改標籤只可以改 “ARTIST”, “TITLE” 和 “COPYRIGHT” (asx的元素), 當你在播放時不可以修改, 因為不能seek.

修改後出來的asx的ENTRYREF元素將會被實際ENTRY取代, 又如果asx檔本身只是一些reference urls, 修改後出來的檔案將是有效的
asx播放列表.

結論
如果你指定要用這個插件來播放, 你要使用前置標籤, 例如: “mslive://mms://www.radio.com/stream”.
但若是你對於前置標籤何時使用感到混亂, 沒問題, 你永遠用前置標籤就好了.

祝各位流得愉快~

Comments (14)

more news of foo_input_mslive

真是一雞死一雞鳴…. 買了張新的x-fi soundcard, 同時死了主機的cpu, 真是不知是喜是悲….. 又拖慢了開發進度…
this component is 95% completed, soon to be released…..

Comments (1)

foo_input_mslive news

just to announce mslive 0.2 is in progress, it is a complete rewrite, new features includes:

1. hand-written asx parser instead of using the MSXML parser to provide better playlist support – 95% completed
2. asx tagging support (only ARTIST and TITLE metadata can be modified) – 80% completed
3. cue sheet like asx playlist support – 100% completed
it is expected to be completed in a week, hopefully.

foo_input_mslive 0.2正在開發中,  新的功能包括:

1. 手工編寫的parser, 取代之前用的MSXML parser, 提供較好的asx支援 – 95% 完成
2. 支援更改asx標籤, 但只限於ARTIST及TITLE標籤 – 80% 完成
3. 類似cue sheet的playlist支援 – 100% 完成
如無意外應可以在一周內發佈試用.

Comments (4)