SHOUTcaster

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...
  • Moin Moin!
    hier etwas neues aus meiner Pluginreihe für Enigma2.


    Installation
    Wenn es im BluePanel ist, einfach im BP auf Addons und download gehen und in der Sektion Plugins auswählen. Fertig :winking_face:


    Installation manuell
    Das File SHOUTcaster_Enigma2_DM7025_0-1.tar.gz per FTP oder Samba nach /tmp auf der Box kopieren und per Bluepanel manuell installieren. Anschließend Enigma neu starten.


    Diese Software ist BETA. Daher können und werden Fehler auftreten, die Enigma2 komplett zu Absturz bringen! Beachte dies bei der Benutzung. Die entstehenden Chrashlogs brauchen nicht zu DMM gesendet werden!


    Anleitung
    Beschreibung
    Mit diesem Plugin für Enigma2 ist es dir möglich, Webradios und SHOUTcast.com über E2 zu hören. Derzeit sind nur Streams im MP3-Format abspielbar. Keine wave, ogg, wma , quicktime oder sonstige Dateien. In der Configdatei können die zu hörenden Streams als Favorit gespeichert werden. Diese tauchen dann unter 'LIST' auf. Zum Abspielen eines Stream, diesen in der Liste markieren und 'PLAY' drücken. Zum Stoppen dementsprechend auf 'STOP'. Über die blaue Taste gelangt man in eine Liste der bei SHOUTcast.com gelisteten Musik-Genres. Die in dieser Liste mit OK ausgewählte Liste wird nach vorhanden und abspielbaren Streams durchsucht und anschließend im Browser als Liste angezeigt und sind über den bekannten Weg abspielbar. Jeder dieser Streams kann über das Menü unter der Menü-Taste der Favoritenliste hinzugefügt werden. Über das Menü können Streams in der Favoritenliste auch wieder entfernt werden.


    Format der Config-Datei
    Jeder Stream besteht aus einer Sektion [STREAMNAME] und den Options url und description. Dabei kann der STREAMNAME nur einmal vergeben werden.


    Beispiel:
    [http://www.dreampowerradio.de]
    url = http://dpr.gmc.to:64000/stream
    description = die Internet Lokal-Radio Station fuer die Dreamgemeinde


    bekannte Probleme
    Da dieser Streamsupport sehr rudimentär verwirklich ist, kann es zu E2-Crashes kommen. Zum Einem durch ein Abreißen des Streams, das E2 nicht mitbekommt. Zum Anderen können momentan keine streams in Mono abgespielt werden. Wenn man soeinen abspielt, isses mit E2 bis zum Neustart vorbei. Dadurch kann es auch kommen, das E2 nicht auf Fernbediehungseingaben nicht mehr reagiert. Dann hilft nur einweder ein manueller Eingriff via Telnet oder ein kompletter Neustart!


    Viel Spaß und gute Unterhaltung mit dem SHOUTcaster!


    #####################
    Installation(works, if the plugin is in the BluePanel)
    - Go to your BluePanel and select Addon´s. Then select download
    - In the Pluginsection you will find the SHOUTcaster-Plugin
    - Download and install it by pressing the OK-Button
    - that´s all, you will find the plugin in the Games/Addons-Menu


    Installation manuell
    Download the file SHOUTcaster_Enigma2_DM7025_0-1.tar.gz and put it on your box with FTP or Samba(SMB) in the directory /tmp . Then go in your BluePanel --> Addons and select manuell. Install the file from the list by pressing the OK-Button.Then Restart your Enigma2.


    At the moment only MP3-Streams are supported. All other formats like wave, ogg, wma , quicktime or something like this will enigma2 let crash!


    This Software is BETA. Errors can and will happen! Pay attension at this. Dont send the Crashlogs to DMM!


    Dokumentation


    Update 0-2:
    - keine Änderungen an der Funktion, nur der Schritt auf Python 2.5
    - no changes made, only Support for Python 2.5

  • 3c5x9, thanks a lot...


    Downloaded at work... waiting desperately to arrive home and test...


    I'll let you know.


    Cheers,
    JJ.

  • 3c5x9
    Leider hast Du ins .tar.gz-Paket "nur" die vorkompilierte PYC-Datei reingepackt. Ich würde gerne dieses Plugin auf einer 7020er mit Enigma2 ausprobieren.
    Wirst Du auch den "PY-SourceCode" freigeben oder hilft mir dieser auch nicht weiter? In der gelieferten Form wird nichts abgespielt.
    Oder ist das ganze zu Geminispezifisch?


    Danke
    Imhotep

  • gegenfrage spielt der meidaplayer von der 7020 überhaupt schon mp3´s?

    DreamBox 1: 7000s rev. 4 . . . . . . . . . . . . . . . Dreambox 2: 7025-SS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dreambox 3: 600 PVR-S . . . . . . . . . Dreambox 4: DM800S HD PVR
    USB - Stick: Kingston Datatraveler USB 2.0 . . CF - Karte: 1GB Extrememory Performance w/o MB!
    Festplatte: IBM 120GB . . . . . . . . . . . . . . . . . . Festplatte: Maxtor 200GB. . . . . . . . . . . . . . . . . . . . . . . . . . . Festpaltte: Samsung 120GB. . . . . . . Festplatte: HDDrive2go 500GB eSata
    Image im Flash: Gemini 4.X0 . . . . . . . . . . . . . Image im Flash: Gemini 4.X0. . . . . . . . . . . . . . . . . . . . . . . . . Image im Flash: Gemini 4.X0. . . . . . Image im Flash: Gemini 5.X0
    Satelliten: 13,0°; 19,2°; 23,5° Ost. . . . . . . . . . Satelliten: NIM1 -19,2° Ost; NIM2 - 13,0°; 19,2°; 23,5° Ost . . Satelliten: 13,0°; 19,2°; 23,5° Ost . . Satelliten: 13,0°; 19,2°; 23,5° Ost


    ...Never cared for what they say - Never cared for games they play - Never cared for what they do - Never cared for what they know...


    ICH GEBE WEDER IM FORUM NOCH PER PM HILFE ZU KEYS BZW. PAYTV HACKS!

  • Zitat

    Original von SadButTrue
    gegenfrage spielt der meidaplayer von der 7020 überhaupt schon mp3´s?


    das war jetzt schnell! danke!
    ok! stimmt diese tatsache hatte ich leider verdrängt!


    aber allgemein:
    angenommen, 7020 würde mp3s abspielen, ginge das dann auch mit der pyc-datei oder braucht man dann die py-datei?


    fakt ist, dass man aus den py-dateien mehr lernt!


    Imhotep


    p.s. ich weiss, dass nicht die pcy-datei die mp3s abspielt! :winking_face:

  • starte mal Enigma2 im "debugmode". Per Telnet 'killall -9 enigma2;enigma2&' und beobachte, was dort ausgegeben wird. Dann kopierst du den wohl auftretenden Fehler.


    Aber wie SadButTrue schon sagte: Wenn der Mediaplayer von E2 keine mp3´s abspielt, haste mit dem SHOUTcaster erstrecht keine Chance.


    PYC: Wenn du in das Verzeichnis /usr/lib/enigma/python/Plugins/Extensions/SHOUTcaster/ wechselst und ein 'python plugin.pyc' ausführst, welche Meldungen kommen zurück? Evtl. "no module enigma2" oä.?


    Welche Pythonversion läuft auf der 7020? python -v oder so...

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

    Einmal editiert, zuletzt von 3c5x9 ()

  • 3c5x9
    Es ist schon, wie SadButTrue es sagt. Beim dreamville-Image stand noch dabei, dass mp3s (ohne apostoph :winking_face: ) nicht gehen. Beim mordillos Image stand`s zwar nicht dabei, es geht aber immer noch nicht :loudly_crying_face:


    Beim Aufruf mit MENU>Spiele/Erweiterungen werden die "Menüs" noch ganz normal dargestellt nur das Abspielen klappt nicht.


    Beim Aufruf per Telnet: (Pfad mit .../enigma2/...)

    Code
    root@dm7020:/usr/lib/enigma2/python/Plugins/Extensions/SHOUTcaster#python plugin.pyc
    Traceback (most recent call last):
      File "/usr/lib/enigma2/python/Plugins/Extensions/SHOUTcaster/plugin.py", line
    5, in ?
    ImportError: No module named enigma
    root@dm7020:/usr/lib/enigma2/python/Plugins/Extensions/SHOUTcaster#


    Version: Python 2.4.3 (#2, May 31 2006, 19:37:38)


    Und der Fehler:

    Code
    (enigma2:1105): GStreamer-CRITICAL **: gst_element_query_position: assertion `GST_IS_ELEMENT (element)' failed
    action ->  ShortcutActions green
    loading PLS of stream  Corbina Radio: AmbienT CorBinA RaDiO StatioN
    [ SHOUTcaster ] stop streaming
    MP3: /tmp/streaming.mp3 stop


    GStreamer-CRITICAL wird wohl das "wichtige" sein.


    DANKE aber für die ausführliche Antwort. Habe wieder was dazu gelernt!



    Imhotep

  • ok, es liegt definitiv nicht daran, das die Dateien compiliert sind. Denn das er "ImportError: No module named enigma" ausgibt, ist völlig normal. Denn er findet das Modul enigma nicht, weil er vom falschen Pfad aus aufgerufen wurde. Wenn deine Box die *.pyc nicht lesen könnte, würde ein anderer Fehler kommen.


    Das Critical liegt wohl daran, das das Image per se keine mp3s (ohne ´ :) abspielen kann. Das bleibt abzuwarten und dann erneut zu berichten :)

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

  • 3c5x9,


    very good work... but I'm pretty sure that you are a Python expert.


    It's just what I (and probably more people) wanted.


    The only thing is that my german is close to nothing and I don't understand most of your comments at Documentation web site. Specially those ones referred to the genre look for.


    Another thing is the translation, if you want, I can help you on English and Spanish ones.


    In any case, thanks a lot for your PlugIn. I'm enjoying it in this moment.


    Regards,
    JJ.

  • I thank you for your feedback!


    I don´t speak good enough to write this technical stuff with my shoolenglish so anybody can understand it. But if you ask your questions, i will try to answer them.


    The translation will come, when i found out how it works in enigma2 generaly. Because theres no real documentation of the e2 code (or i havend found it), i have to reinvent. Then i will make an eniglish version or include an languagefile, so you can translate it from english to spanish.

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

  • 3c5x9,


    your work was very good, so you don't need to reinvent anything. The very good of this software is the OS basic. The queue file exists inside Unix long time ago and what to say about redirection...


    But in any case and like you said, my questions are:


    Can we say that yellow key is my favourites list? (conf file located at /etc)


    and the other is, when I select a genre, where are you looking for? On an internal list? or are you checking on Internet? If it's the last one, would be interested to have a menu option to copy to our "favourites".



    Cheers,
    JJ.

  • I don´t want to say, that i´ve reinvent e2. If i want to now how a spezial thing was made (play serverices like mp3), i have to analyst the excamplecode and look behind these functions. and that isn´t as easy as thers a documentation like many java-classes have.


    Zitat

    Original von jjfuertes
    Can we say that yellow key is my favourites list? (conf file located at /etc)


    A clear and direct Yes. The reason for the "list"-button is, that 'Favorites' is too long to fit on my buttons :tongue:

    Zitat


    and the other is, when I select a genre, where are you looking for? On an internal list? or are you checking on Internet?


    The Genres are hardcoded at the moment. The List was parsed by hand from the HTML-code of http://www.shoutcast.com . If you have a look in the "enigmadebug" output in telnet, you will see the shoutcast-urls. If they have loaded, they will parsed by the plugin an will displayed at the screen.


    Zitat


    If it's the last one, would be interested to have a menu option to copy to our "favourites".


    Did you mean to copy a stream from the List to your Favorites? Then, select your stream and press Menu on your remotecontrol. In that menü select : "1 Stream zu Favoriten hinzufügen" like in english "add streams to Favorites". By this it will be saved in the /etc/SHOUcaster.conf.


    Questions answered?


    guano30: Freut mich zu hören. Wenn du dich von Mono-Streams verhällst, sollte das auch so bleiben :winking_face:

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

  • 3c5x9,


    yes, questions answered. All the functionalities I wish are there. As I told you, I don't know german, so your translation was perfect.


    In any case, you did a perfect and very useful work.


    One of the reasons why I bought a DB is this ability and when I opened 7025 and saw there wasn't, I was really worry about it.


    Please, think on me if you want to test more functionalities or to help you on any development. I'm computer analyst and I have a clear view of what I want on a project and the tools than can be useful.


    Again, thanks a lot for your plugin.


    Cheers,
    JJ.

  • Mit dem Gemini 1.50 läuft das Plugin sehr schön.


    Allerdings mit dem CVS-Image vom 16.06 leider bei mir überhaupt nicht, bzw. der ausgewählte Stream wird nicht wiedergegeben.


    Der wget Task wird gestartet, und kurz danach reisst es enigma2 komplett in den Abgrund.


    gruß

  • Ist das reproduzierbar?
    Hast du den Crashlog noch? Wenn ja, her damit :)

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

  • Zitat

    Original von 3c5x9
    Ist das reproduzierbar?
    Hast du den Crashlog noch? Wenn ja, her damit :)


    Jederzeit reproduzierbar, allerdings reisst es enigma2 so weg, dass es kein chrashlog gibt.


    gruß
    morks

  • Zitat

    Original von 3c5x9
    starte mal Enigma2 im "debugmode". Per Telnet 'killall -9 enigma2;enigma2&' und beobachte, was dort ausgegeben wird. Dann kopierst du den wohl auftretenden Fehler.


    Versuch mal, über diesen Weg an nen Log zu kommen. Danke

    Es heißt auch nicht mehr Troll, sondern Netzbürger mit Frustrationshintergrund.
    <br>
    Leider muß ich es extra schreiben: Kein Support per PM. Privater Support hilft uns nicht weiter als Forum!

  • Sooo, hier gibts zumindest etwas...


    action -> InfobarMenuActions mainMenu
    loading mainmenu XML...
    action -> OkCancelActions ok
    okbuttonClick
    unsupported attribute name=remove
    unsupported attribute name=download
    action -> WizardActions ok
    ['www.dreampowerradio.de']
    [SHOUTcaster] load http://www.dreampowerradio.de from config
    action -> ShortcutActions green
    [ SHOUTcaster ] start streaming http://dpr.gmc.to:64000/stream
    rm: cannot remove `/tmp/streaming.mp3': No such file or directory
    [eDVBCAService] free slot 0 demux 2 for service 1:0:1:6D66:437:1:C00000:0:0:0:
    [eDVBCAService] free slot 1 demux 0 for service 1:0:1:6D66:437:1:C00000:0:0:0:
    [eDVBCAService] free service 1:0:1:6D66:437:1:C00000:0:0:0:
    VIDEO CHANGED (to ffffffff)
    STOP
    VIDEO_STOP
    start release channel timer
    playing <enigma.eServiceReference; proxy of C++ eServiceReference instance at _10d08c10_p_eServiceReference>
    SERVICEMP3 construct!
    starting pipeline
    enigma2: conf.c:3109: snd_config_update_free: Assertion `update->count > 0 && update->finfo' failed.




    Danach startet enigma2 neu, aber es kommt bis zum kompletten Reboot, kein Bild mehr.
    Also Abschiessen des noch vorhanden wget-task und von enigma2 helfen nicht.


    gruß