[Plugin] Streamradio V2 | Page 11

Discussion in 'MediaPortal 1 Plugins' started by kroko, November 7, 2008.

  1. cornhoulio

    cornhoulio Portal Member

    Joined:
    January 26, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Germany Germany
    Small fix

    Hi,

    I had a problem that the station icons ware not loaded if i have the option "Show last active module when starting" enabled in MP configuration.
    There was also the following error message in error.log:
    Code (Text):
    1. 2009-06-21 20:54:08.718750 [Info.][MPMain]: OnMessage exception:System.NullReferenceException:
    2.     Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    3.    bei MediaPortal.GUI.MyStreamRadio.GUIRadio.EncodeActive()
    4.    bei MediaPortal.GUI.MyStreamRadio.GUIRadio.OnPageLoad()
    5.    bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    6.  
    The problem seams to be that BASS is not initialized during startup of the plugin.
    I do not have enough knowledge to completely fix the problem but I made a wokaround.
    This exception is handled now.



    cornhoulio.
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. rabelejo

    rabelejo Portal Member

    Joined:
    February 9, 2008
    Messages:
    37
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hello Kroko,

    first of all I will thank you for your great work.

    But I have same little problems to get work with your plugin. I read the complete thread about streamradio and I put the files in the right dircectory .

    On the screen i don ´t see the logos from the radiostation. ( see thumbnails). The stations on the left site works perfeclty.

    Maybe the error.log help you to find my mistake.

    I hope you can help me to get streamradio works.

    ( for all english people, excuse my schoolenglish itś about 20 years ago :) )

    rabelejo
     

    Attached Files:

  4. cornhoulio

    cornhoulio Portal Member

    Joined:
    January 26, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Germany Germany
    Hi rabelejo,

    it seems your MP version is to old.
    Which version are you using?

    cornhoulio.
     
  5. rabelejo

    rabelejo Portal Member

    Joined:
    February 9, 2008
    Messages:
    37
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi cornhoulio,

    thank you for your answer.

    I forgot to chance my profil, i have the newest Mediaportal and Tv-Server 1.0.2 on my Computer.

    rabelejo
     
  6. rabelejo

    rabelejo Portal Member

    Joined:
    February 9, 2008
    Messages:
    37
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi,

    i have still the same problem. Has anyone a solution for me?:confused:
    I tried to put the logos in different folders, but no one have success.

    rabelejo
     
  7. htcp-starter

    htcp-starter Portal Member

    Joined:
    March 25, 2009
    Messages:
    29
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    Hi,

    in which folder are your radio-station.xml
    By my first installation, I copoied them into a false folder.
    This is the right one: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\Radio

    Open one of the xml-dateien.
    The right name of station icon stands between <logo>1046 RTL Hit-Radio.png</logo>
    Control the icon-name in folder C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\thumbs\Radio
    There must be a datei wiht the name 1046 RTL Hit-Radio.png
     
  8. rabelejo

    rabelejo Portal Member

    Joined:
    February 9, 2008
    Messages:
    37
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi htcp-starter,

    thank you for your help. I think you have the solution for me, because i can´t find the radio-station.xml on the complety computer.

    Maybe i delete the radio-station.xml when i copy the logos in the folder, then I have tried 10 times :mad:.

    But I can´t find radio-station.xml in the package from mystreamradio v2.

    Can you post me your radio-station.xml, then i Iwill retry again?

    rabelejo
     
  9. htcp-starter

    htcp-starter Portal Member

    Joined:
    March 25, 2009
    Messages:
    29
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    Sorry rabelejo,

    you have no radio-station.xml.
    Sorry, but I try it for you in German.

    Also du hast keine radio-station.xml auf deinem PC. Das war nur ein Beispiel
    Im Verzeichnis C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\Radio liegen die sender-Dateien mit dem Namensaufbau "radio-station".xml, also z.B. AntenneBayern.xml oder 1046 RTL Hit-Radio.xml
    Die Senderlogos selbst sind dann im Verzeichnis C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\thumbs\Radio gespeichert.

    In der xml-Datei ist beschrieben wo das Logo zu finden ist und auf welchen Namen und welche Endung es hört.
    Das steht eben in der Zeile "<logo>1046 RTL Hit-Radio.png</logo>"
    Bei mir passten anfangs die Sendernamen nicht mit dem Logonamen überein.

    Nochmal sorry. Das wär mir auf Englisch jetzt zu kompliziert geworden. Das näcshte Mal wieder.
    Hoffentlich hilfts
     
  10. cornhoulio

    cornhoulio Portal Member

    Joined:
    January 26, 2009
    Messages:
    35
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Germany Germany
    New Version

    Hi,
    I missed some things in the plugin so I added it.
    I hope Kroko is not annoyed about it.

    • The plugin will remeber the last selected station if you leave the plugin or close MP
    • If in the Plugin configuration the checkbox "Auto play Radio when entering" is checked, the last selected station will be played if you enter the plugin again. Only if no other audio is playing.

    To avoid confusion I have set the version to 0.5.2.0.
    I have not yet a Souce Forge account so I add the code here.

    Enjoy if you like.

    cornhoulio
     

    Attached Files:

    • Like Like x 1
  11. rabelejo

    rabelejo Portal Member

    Joined:
    February 9, 2008
    Messages:
    37
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 0
    Home Country:
    Germany Germany
    Show System Specs
    hi htcp-starter,

    mein english ist leider auch ein wenig eingerostet.;) Also weiter in deutsch.

    Ich habe, wie schon beschrieben, alle möglichen Ordner probiert für die logos.

    Im Anhang habe ich jetzt nochmal Sreenshots erstellt, wo die einzelnen Dateien sind.

    Immer noch ohne Erfolg, die logos werden nicht im Mediaportal angezeigt.

    Ich weiß nicht mehr weiter, sowas ähnliches hatte ich schon einmal und am Schluss musste ich Mediaportal noch mal neu aufsetzen. :mad:

    Vielleicht erkennst Du aus den Sreenshots wo mein Fehler liegt.

    Aus der radioblabla.xml Datei kann ich leider nicht erkennen wo der Speicherort der Logos ist.

    Manchmal sieht man den Wald vor lauter Bäumen nicht mehr.:D
     

    Attached Files:

Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!