[Plugin] Streamradio V2 (1 Viewer)

cornhoulio

Portal Member
January 26, 2009
35
2
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:
2009-06-21 20:54:08.718750 [Info.][MPMain]: OnMessage exception:System.NullReferenceException: 
    Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei MediaPortal.GUI.MyStreamRadio.GUIRadio.EncodeActive()
   bei MediaPortal.GUI.MyStreamRadio.GUIRadio.OnPageLoad()
   bei MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
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.
 

Attachments

rabelejo

Portal Member
February 9, 2008
37
5
Germany Germany
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
 

Attachments

rabelejo

Portal Member
February 9, 2008
37
5
Germany Germany
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
 

rabelejo

Portal Member
February 9, 2008
37
5
Germany Germany
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
 

htcp-starter

Portal Member
March 25, 2009
29
1
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
 

rabelejo

Portal Member
February 9, 2008
37
5
Germany Germany
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
 

htcp-starter

Portal Member
March 25, 2009
29
1
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
 

cornhoulio

Portal Member
January 26, 2009
35
2
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
 

Attachments

rabelejo

Portal Member
February 9, 2008
37
5
Germany Germany
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
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 15
da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
M Installing Plugins Newcomers Forum 2
joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
vapourEyes Building TV Plugin General Development (no feature request here!) 49
Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
D Where should plugins be located on hard drive? General Support 0
D how to disengage from one version of a plugin to use another Newcomers Forum 0
cbr954rr How to disable a pre-configured plugin? General 2
mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
doskabouter [Question] Stale plugins Developer Discussions 9
M MP1 stops responding after Starting Plugins General Support 14
Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
Similar threads

























Top Bottom