[Plugin] Streamradio V2 (4 Viewers)

caribou

MP Donator
  • Premium Supporter
  • December 5, 2008
    32
    0
    Nantes
    Home Country
    France France
    Re: AW: My Streamradio V2

    Also the URL should be not be lowered anymore.
    I see no changes. (?) still v4 rather than V4... ??
    Here the log :
    Code:
    2010-07-30 21:09:18.453125 [Info.][MPMain(1)]: g_Player.PlayAudioStream(http://cache.yacast.net/v4/bfm/bfm.m3u)
    2010-07-30 21:09:19.578125 [Debug][MPMain(1)]: BASSAudio: Webstream found - trying to fetch stream 0
    2010-07-30 21:09:19.578125 [Info.][MPMain(1)]: BASS: Unable to create Stream for http://cache.yacast.net/v4/bfm/bfm.m3u.  Reason: BASS_ERROR_FILEOPEN.
    2010-07-30 21:09:19.593750 [Info.][MPMain(1)]: BASS: Unable to play http://cache.yacast.net/v4/bfm/bfm.m3u.  Reason: BASS_ERROR_HANDLE.
    2010-07-30 21:09:19.593750 [Info.][MPMain(1)]: player:ended
    I have attached the xml file I'm using for this radio. You can try yourself...


    Also it is possible to change the default save path for the radio files in the setup.
    excellent !! thanks !

    and... I fixed the missing button to access directly the recordings from the mp (see menu)
    I do not see it in the Blak glass skin... ?
    I see it in Blue3. good.
    Just a correction : it is written "TV enregistrée" in french. It should be "Radio enregistrée". :)

    I have tried the record function. However, it does not work (??) (I did not tried before).
    I have tried in both release. previous and the new one's.
    in previous release, we can activate and deactivate the record circle. but no files in the expecting directory. (?)
    in the new release, if we activate (in blue3 as for blacglass) we can no more deactivate. circle remains always filled.
    and also no files in the expecting directory.
    ???
    the log :
    Code:
    2010-07-30 21:40:26.031250 [Info.][MPMain(1)]: BASS: playback started
    2010-07-30 21:40:26.031250 [Info.][MPMain(1)]: g_Player.OnStarted() http://ns57.ovh.net:80 media:Radio
    2010-07-30 21:40:28.218750 [Debug][MPMain(1)]: MyStreamRadio | start recording
    2010-07-30 21:40:28.234375 [Debug][MPMain(1)]: MyStreamRadio | bass returns 2564
    2010-07-30 21:40:32.078125 [Debug][MPMain(1)]: MyStreamRadio | start recording
    2010-07-30 21:40:32.078125 [Debug][MPMain(1)]: MyStreamRadio | bass returns 2200
    2010-07-30 21:40:34.203125 [Info.][MPMain(1)]: Main: Stopping media
    2010-07-30 21:40:34.203125 [Debug][MPMain(1)]: g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    2010-07-30 21:40:34.203125 [Info.][MPMain(1)]: g_Player.OnStopped()
    2010-07-30 21:40:34.203125 [Debug][MPMain(1)]: g_Player.doStop() - stop
    2010-07-30 21:40:34.203125 [Debug][MPMain(1)]: BASS: Stop of stream -1342177263
    2010-07-30 21:40:34.718750 [Debug][MPMain(1)]: BASS: HandleSongEnded - manualStop: True, CrossFading: False
    2010-07-30 21:40:34.734375 [Debug][(6)]: BASS: PlaybackStreamFreedProc of stream -1342177263
    2010-07-30 21:40:34.734375 [Debug][(6)]: BASS: HandleSongEnded - manualStop: False, CrossFading: False


    For the sorting: I already thought in the beginning growing numbers of stations will make it difficult to navigate. Of course you can do different folder to seperate them, but I already added some information to the XML. Just in case.
    Of course possible to sort them.. I will go for that later.
    I have an idea : maybe it could be while cursor is on a radio, we could have access to filter ! ?
    I think filters which seems to me important : category, language, country. other fields does not seems so usefull... (?)
    EXAMPLE:
    cursor is on the BFM radio (category=mixed / language=french / country=fr ).
    I click right.
    menu is :
    no filter
    filter to same category (mixed)
    filter to same language (french)
    filter to same country (fr)
    add to favorites <<< here begins favorites menu
    ...
    ...
    If user click on mixed. then the list is filtered by category = mixed.
    and you should print information that the filter is active somewhere as "filter category mixed active".
    ? am I clear ?
    filter should be saved until the user ask "no filter"... (maybe also a parameter in the setting ?)
    upgrade functionnality : to be able to active each filter (not only one). example: I set category mixed, and also langage french....
    of course the best should be to have choice without findind a radio of our choice...
    but the idea seems to me not so bad....

    Enjoy
    kroko
    Sure I'm really enjoying this plugin. ;) hope you could fix problems.
    If you need help for french translation, please send me the source file and the target file and I would translate for you.
    note: favorites in french is not correct in the menu. it should be "favoris".
    "add favorites" should be "ajouter aux favoris"
     

    Attachments

    • BFM.xml
      730 bytes

    kroko

    Portal Pro
    February 4, 2007
    428
    420
    55
    Itzehoe
    Home Country
    Germany Germany
    AW: My Streamradio V2

    Hi caribou & Tini,

    please check you have the right dll from 30.07 00:23. Maybe I compiled the plugin wrong... or you have been to fast downloading it ;)

    I attached the actual plugin dll to this post.

    on my side:

    play the stream
    2010-07-30 22:54:39.076402 [Info.][MPMain(1)]: g_Player.OnStarted() http://cache.yacast.net/V4/bfm/bfm.m3u media:Radio
    2010-07-30 22:54:42.832616 [Debug][MPMain(1)]: g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False
    2010-07-30 22:54:42.834617 [Info.][MPMain(1)]: g_Player.OnStopped()
    2010-07-30 22:54:42.854618 [Info.][MPMain(1)]: TvRecorded:OnPlayRecordingBackStopped Radio http://cache.yacast.net/V4/bfm/bfm.m3u
    2010-07-30 22:54:42.855618 [Debug][MPMain(1)]: g_Player.doStop() - stop

    record the stream
    2010-07-30 22:54:49.112976 [Info.][MPMain(1)]: g_Player.OnStarted() http://cache.yacast.net/V4/bfm/bfm.m3u media:Radio
    2010-07-30 22:54:51.760127 [Debug][MPMain(1)]: MyStreamRadio | start recording
    2010-07-30 22:54:51.796129 [Debug][MPMain(1)]: MyStreamRadio | bass returns 2576
    2010-07-30 22:54:55.541343 [Debug][MPMain(1)]: MyStreamRadio | stop recording

    play the recording (path ...record)
    2010-07-30 22:55:00.144607 [Info.][MPMain(1)]: g_Player.PlayAudioStream(C:\ProgramData\Team MediaPortal\MediaPortal\Record\test_30_07_2010_22_54.mp3)

    Everything works so far. I had already some post saying the record is not working, but I dont know why. I have 3 systems running win7 and xp and all of them work. ????

    Most translations are taken directly from the MP so there is no chance for me to change them. I trying to avoaid a language file. Also I only work on the Blue3 and Blue3Wide skin.

    Also I attached a small "read me" for the pasrser. Hope it will help. Writting manuals is not my best... (Tini)

    Talk to you soon
    kroko
     

    Attachments

    • MyStreamRadio.zip
      43.6 KB
    • parserExamples.txt
      2.6 KB

    TiboTv

    Portal Pro
    June 22, 2009
    244
    39
    Home Country
    Belgium Belgium
    Re: My Streamradio V2

    Hi Tini,

    Could you get the correct artist and song name displayed on 181fm the buzz each time a song is changing? See my next post if you don't understand.

    Thank you.
     

    caribou

    MP Donator
  • Premium Supporter
  • December 5, 2008
    32
    0
    Nantes
    Home Country
    France France
    Re: AW: My Streamradio V2

    please check you have the right dll from 30.07 00:23. Maybe I compiled the plugin wrong... or you have been to fast downloading it ;)
    Yes ! it's ok with this one. thanks.


    record the stream
    Everything works so far. I had already some post saying the record is not working, but I dont know why. I have 3 systems running win7 and xp and all of them work. ????
    I have both XP and WIN 7. and for both, I check and it does not work. same behaviour. (active but no way to deactivate and in the same time no recording....)
    :eek:

    Most translations are taken directly from the MP so there is no chance for me to change them. I trying to avoaid a language file.
    I understand. However, there is no "Radio recorded". I suppose same is in english for the button : TV...
    about favorites here is the node I found containing translation in the MP french xml :
    <String id="932">Favoris</String> >>>for favorites
    <String id="930">Ajouter aux favoris</String> >>> for add to favorites
    are you really using one of this one ?

    Also I only work on the Blue3 and Blue3Wide skin.
    ok. it's a choice. So I would try to understand how to make it work for Black Glass...

    cheers.
    caribou
     

    tini-hamburg

    Portal Member
    February 21, 2009
    12
    1
    Home Country
    Germany Germany
    Re: My Streamradio V2

    Hi TiboTV

    I found my mistake - at Home Screen I can see the artist and title. Only MP Touch can not display the artist and title.

    kroko
    for one of your next versions - could you have a look at MP Touch? If both plugins could work together - this would make my media center perfekt!

    Thanks to all,
    Tini
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    848
    53
    Home Country
    Belgium Belgium
    Re: My Streamradio V2

    Hi guys,

    I was using this plug in with MP 1.0.2 but in the process running the RC's, I didn't install it yet until now.
    Installation seems to be ok - did it by doubleclicking on the MPE1 file - and the it's present under plugins in the configuration tool but it stops there.
    1) according to the startpost, there are those shoutcast en icecast stations but I have none. Do I have to do something additional?
    2) if I add a station manually, it doesn't appear and even in the configuration utility, after saving and re-entering, nothing is there.

    Am I missing something?
    TIA


    EDIT: I just see now that in my sig, I have stated that I'm using v 0.6 whereas the file that I downloaded yesterday reports v0.5.2 during installation.
     

    JoachimP

    Portal Pro
    October 12, 2007
    115
    1
    Lüneburg
    Home Country
    Germany Germany
    AW: My Streamradio V2

    Hello,

    it seems, that I have the same problem as Peter2.
    Today I install MP 1.1 final (from 1.0.2) - I see the Streamradio Screen, but no radiostations...
    (The installer doesn't work , so I put the .dll manuell in the MP directory)
    Some ideas?

    Joachim
     

    kroko

    Portal Pro
    February 4, 2007
    428
    420
    55
    Itzehoe
    Home Country
    Germany Germany
    AW: My Streamradio V2

    Hi,

    first: I just updated to the version 0.6.4. I included the actual version now on the first post. Or you get the file online using the online extension installer.

    This version fix the localized string in the favorites content menu.
    Also I tried to modify the call to bass to get a better result on record the streams.

    Still to do is sorting and may be MP Touch display.

    So far
    kroko
     

    polarie

    Retired Team Member
  • Premium Supporter
  • November 20, 2006
    1,252
    152
    52
    Hasloh (near Hamburg)
    Home Country
    Germany Germany
    AW: My Streamradio V2

    cool - and big thx

    - hmm seems like we have now realy meet for a coffee and shake hands :p
    only 12 km :)
     

    caribou

    MP Donator
  • Premium Supporter
  • December 5, 2008
    32
    0
    Nantes
    Home Country
    France France
    Re: AW: My Streamradio V2

    Hi,

    first: I just updated to the version 0.6.4. I included the actual version now on the first post. Or you get the file online using the online extension installer.

    This version fix the localized string in the favorites content menu.
    Also I tried to modify the call to bass to get a better result on record the streams.

    Still to do is sorting and may be MP Touch display.

    So far
    kroko

    Hi Kroko,

    About translation for favorites, result is perfect for french. :D

    About recordings, it has not changed the problem BUT I have found from where it comes !
    In the MP log I have the following log.
    look at the recorded file path and name :

    Code:
    2010-08-08 22:38:22.156250 [Debug][MPMain(1)]: MyStreamRadio | start recording
    2010-08-08 22:38:22.156250 [Debug][MPMain(1)]: MyStreamRadio |record file : C:\Documents and Settings\Alain\Mes documents\System\MP\RadioRecorded\[B]bfm_08/08/2010_22_38.mp3[/B]
    2010-08-08 22:38:22.156250 [Debug][MPMain(1)]: MyStreamRadio | recording works
    2010-08-08 22:38:29.765625 [Debug][MPMain(1)]: MyStreamRadio | stop recording
    the name of file has a date format with "/" ==> "08/08/2010". and "/" are not accepted by windows file name. It is interpreted as directory "/".
    To check if it really comes from this, I have created manually the missing end of path "bm_08/08/" in the "MP\RadioRecorded\" directory.
    then I tried to record and it works !!! (note: In the same time, the strange recording button behaviour disappears)
    result is a "2010_22_38.mp3" file.
    I have check on my XP computer. I have not my WIN 7 computer available this week. But I suppose the problem is the same reason...?
     

    Users who are viewing this thread

    Top Bottom