One Button Random Music? (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    I was bored sitting on the airport yesterday afternoon - New version is on it's way for download:

    1. You can now specify the number of songs, you want to have selected out of the database.
    2. You can specify, if the songs loaded from a specified playlist or database should be shuffled, despite of the autoshuffle flag set in the MP Playlist options
    3. For the assigned commands on the remote, you can specify Shuffle as well.
     

    sleepycol

    Portal Pro
    June 2, 2006
    540
    39
    Home Country
    United Kingdom United Kingdom
    I was bored sitting on the airport yesterday afternoon - New version is on it's way for download:

    1. You can now specify the number of songs, you want to have selected out of the database.
    2. You can specify, if the songs loaded from a specified playlist or database should be shuffled, despite of the autoshuffle flag set in the MP Playlist options
    3. For the assigned commands on the remote, you can specify Shuffle as well.

    Excellent news! Thanks, this is awesome work! Thanks so much for listening to the feedback too. Can't wait to try it.....

    Three cheers for hwahrmann...Hip Hip....


    EDIT: Works flawlessly here :0) Just had one more idea, how about an option in config to automatically display the now playing screen (or goto current playlist view) once a playlist has been created? Just a thought - will the development never end ;0)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    ok, ok, ok, ok, last change for this week.

    New version 1.3 is on it#s way to download page. It allows to specify Jump option: None (stay in home), Playlist screen or Now Playing.
     

    dogbert

    New Member
    December 5, 2007
    4
    0
    Home Country
    Austria Austria
    ... continuing from the other thread, regarding the remote problems:

    yes, it should fix the problem as well.
    could you post your mediaportal.log please? maybe i see something
    which remote are you using?

    After some further testing I could isolate the problem somewhat. It appears to depend also on whether a visualization is enabled or not:

    If no visualization is enabled there is a problem if, and only if, the Play button is pressed on the remote before music is played any other way. After music has been played at least once, either by navigating to the music section or by using the playlist shortcut of the One Button Music plug-in (i.e. pressing "1" on the remote, which works perfectly fine), everything works as expected thereafter. It also only occurs if the Play button on the remote is used; pressing "p" on the keyboard works as expected and thereafter also the remote Play button works as expected without problem. I can, however, reliably reproduce the problem by pressing Play on the remote immediately after starting MP. In this case, the music starts to play but no remote buttons work anymore except the navigation buttons (left, right, up, down and enter). Furthermore, no small cover and song information is displayed in the lower left corner of the screen. I attach the log for this case ("Immediate Play without visualization.log") which, however, doesn't show anything unusual.

    If visualization is enabled, the result is similar insofar as the problem does not occur if the keyboard is used (both "p" and "1" work fine) and neither if the remote "1" is pressed. However, remote Play does not work as expected under any circumstances. If music has been played before, pressing remote Play will start the music but the remote will stop working; the lower left corner shows the visualisation but no song information; nothing unusual in the log (attached as "Play after music.log"). If, however, no music has been played before, pressing remote Play will NOT start the music and the remote will stop working and this is the only case where there actually is an error message in the log (attached as "Immediate play with visualization.log", one for the WMP Alchemy and one for the R4 visualisation, as the error message is different).

    I am using an MCE remote (actually an Harmony One, programmed as MCE remote).
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,754
    1,242
    Alingsås
    Home Country
    Sweden Sweden
    So, does this new version work with MCE remote, or will it still break the Green Button + back button functionality?

    Emph
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    So, does this new version work with MCE remote, or will it still break the Green Button + back button functionality?

    Emph

    ???? why does it break Green Button + back button functionality?
    has anyone that reported?

    yes, there's a problem with remotes and that is fixed by the Core.dll which i published in the other thread.
     

    el_gato

    Portal Pro
    October 15, 2007
    189
    58
    Home Country
    Germany Germany
    yes, there's a problem with remotes and that is fixed by the Core.dll which i published in the other thread.

    i use rc4, hauppauge 45button remote and the 100 rnd tracks option. tried this core.dll you mentioned and still experienced some problems.

    keyboard functions work without any problems so far i can tell, but if i use the remote and press play a list of 100 rnd tracks has been generated (heavy loading hdd *) and a mp3 is playing. but there is no track info and cover displayed of the playing mp3 and is not the first mp3 in the list - it's the last one. no more remote keys work expect for the cursor keys and ok, cover is shown. can only be stopped via keyboard/mouse. (stopping playback, start any mp3 manual and pressing play again on homescreen will generate a new rnd100-playlist and this one is started correctly with cover in lower left corner and playing the first listed track... dogbert already mentioned this in his post above which i can confirm!)

    the number buttons won't work at all - no reaction.

    this problem only occurs if you press play on remote and didn't do anything else before like playing music.
    (*) the hdd works some time and fills up the error.log with all 100 tracks of the rnd generated playlist with the following errormessage:

    2008-12-07 21:49:01.625000 [ERROR][6]: PlaylistPlayer: *** unable to play - E:\Media\Audio\Music\Albums\Red Hot Chili Peppers\Greatest Hits\08. Red Hot Chili Peppers - By The Way.mp3 - skipping track!
    2008-12-07 21:49:01.671875 [ERROR][6]: BASS: Play caused an exception: System.ArgumentException: Steuerelemente, die für einen Thread erstellt wurden, können nicht einem Steuerelement in einem anderen Thread übergeordnet werden.
    bei System.Windows.Forms.Control.ControlCollection.Add(Control value)
    bei System.Windows.Forms.Form.ControlCollection.Add(Control value)
    bei MediaPortal.Player.BassAudioEngine.SetVisualizationWindow()
    bei MediaPortal.Player.BassAudioEngine.Play(String filePath).

    if i use the keyboard the playlist is instantly created. cover and current playing song is shown in the left lower corner...

    now on further testing i realized that this "heavy hdd activity" is not only creating the playlist. mp starts to play every single track one after another (heard several small parts of songs where there was no silence at the beginning...) until it comes to the last one, which isn't skipped. this is the track you hear after you pressed play on the remote...!
     

    Users who are viewing this thread

    Top Bottom