Old MediaCenter no longer play music files

  • Hi,


    Our old MediaCenter does no longer play music files.


    Is there something new in self.session.nav I should consider after some later updates from opendreambox?


    I found this in old code:


    Code
            self.filelist = FileList(currDir, useServiceRef = True, showDirectories = True, showFiles = True, matchingPattern = "(?i)^.*\.(mp3|ogg|wav|wave|flac|wma||m4a|m3u|pls|e2pls)", additionalExtensions = "4098:m3u 4098:e2pls 4098:pls")


    and this:


    Code
    self["filelist"] = self.filelist
    self.session.nav.playService(self["filelist"].getServiceRef())


    This does not play music in latest OE2.5 and OE2.6


    Thanks!

    - FoxyRabbit - Peter Pan team -

  • gibt es denn keine Fehlermeldung, bei matchingPattern hast du 2 Trennzeichen nebeneinander ohne eine Extension drinne


    is there any compile error? by matchingPattern you have 2 separating chars together without any extension

    Einmal editiert, zuletzt von mr_vica ()

  • Thanks for answering! And thanks for pinpointing an error in code, but it did not fix the problem.


    No, there is no crashlog, it just wont play the music, simple as that. Everything just look fine without anything being played.

    - FoxyRabbit - Peter Pan team -

  • Could you PLEASE stop using me as a reference if you are hinting nonsense ?

  • that is just for testing purposes to see what or where goes wrong, not meant for using in his code, I know he needs it in file list, to make selection and play a file, ok, the hint is mine but I got it from here

    Video im Mediaplayer per Konsole starten - i-have-a-dreambox.com | Dreambox - Support
    Hi all,Ich versuche mich daran ein kleines Python Skritp zu erzeugen, dass letztlich einfach ein Video abspielt.Es soll dabei am besten den MediaPlayer…
    www.i-have-a-dreambox.com

  • BITTE lies wenigstens den Threadtitel, es geht hier NICHT ums Video abspielen.

  • You are NOT learning, when you don't take advice and have a look WHY Merlin Music Player does it better :face_with_rolling_eyes:


    I'm NOT giving out free lunches here .... people already steal too much from my plate...


    You simply have already too many ... I need this ... can you please fix this (for me) ... threads running here in the board ...


    Which is NOT a learning attitude :neutral_face:

  • I'm still confused what you are referring to. Please name the plugin without using any nickname for it. MediaPlayer plays mp3 smoothly here.

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • Sorry, this is the old Peter Pan Mediacenter plugin wich I dont know who developed. It has been in our image since 2004 at least. It played nicely until it suddenly stopped working (musicplayer) not long ago. It has never orked in OE2.6 came out. In OE25 it stopped working maybe around some of the latest updates.


    My question is if the code above still should work for playing musicfiles?


    No crash, just no music playing.

    - FoxyRabbit - Peter Pan team -

  • Well, then you can compare your code with the one that is used in MediaPlayer plugin or in DreamExplorer.

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

  • Er versteht einfach meinen Hinweis nicht mit dem Merlin Music Player. Dr. Best verwendet ja auch eigene Servicerefences (4116:...) und ein merlinmp3player.so zum importieren damit das funktioniert, welches man aber in aktuellen Images auch wieder neu compilieren musste damit es wieder funktioniert. Wahrscheinlich ist das hier auch nicht anders ... Nur wenn er keine sourcen davon hat erklärt das eben warum es nie im OE 2.6 ging und auch warum es "plötzlich" nicht mehr im OE 2.5 ging ... ABER ich mag einfach nicht mehr anderer Leute Probleme lösen wenn Ihm ein Hinweis nicht reicht.

  • I think it was Homey who did develop the PP mediacenter at least the the update version points to this address :smiling_face:

    We have been around for so longtime and people have come and go but this is my guess

    Code
    http://www.homeys-bunker.de/dm800/projects/PPMediaCenter/currentversion.txt

    Everything in life that's any fun is either immoral, illegal or fattening

  • the link does not work, this is ok

    Index of /dm800/projects/MediaCenter (homeys-bunker.de)

    Homey introduced it here for the first time

    Dreambox MediaCenter v0.9.2 - Enigma 2 - Plugins - Dreamboard

    there are similiar further developments, Valerie

    Project Valerie - Enigma2 MediaCenter - Enigma 2 - Plugins - Dreamboard (dreambox.de)

    or BMediaCenter by some Open teams

    enigma2-plugins/bmediacenter/src at master · OpenVisionE2/enigma2-plugins · GitHub

    Peter Pan Media Center could be a mod of above