One Button Random Music? (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Sure everything is possible. I / we just need to find some time to do it.

    Still waiting on my new glasses to arrive. have broken mine during skiing 2 weeks ago.
    can't do too much reading nowadays without getting heavy headache.
     

    Snoopy08

    Portal Pro
    January 30, 2008
    81
    0
    Home Country
    Australia Australia
    THanks for the response hwahrmann.
    Hope your glasses get sort soon as i know that can be a headache.

    I do hope that maybe the feature can be added in the future to this great plugin..
     

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    Getting this error occasionally with the idle mode... Have my system to play "Random" after 300 seconds.. Get the C++ error log, does not kill MP at all, but does come up....


    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    at MediaPortal.GUI.Music.GUIMusicPlayingNow.OnPlayBackStarted(MediaType type, String filename)
    at MediaPortal.Player.g_Player.StartedHandler.Invoke(MediaType type, String filename)
    at MediaPortal.Player.g_Player.OnStarted()
    at MediaPortal.Player.g_Player.Play(String strFile, MediaType type)
    at MediaPortal.Playlists.PlayListPlayer.FakePlayer.MediaPortal.Playlists.PlayListPlayer.IPlayer.Play(String strFile)
    at MediaPortal.Playlists.PlayListPlayer.Play(Int32 iSong)
    at MediaPortal.Plugins.OneButtonMusic.StartPlayback(Int32 item)
    at MediaPortal.Plugins.OneButtonMusic.HandleCondition(String parm, String value, Boolean shuffle)
    at MediaPortal.Plugins.OneButtonMusic._timer_Tick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Any ideas?
     

    ppeterr

    Portal Pro
    July 20, 2008
    136
    5
    Hey all - been using it for a while now, and i must say it works great.

    Only thing i'd like to ask.

    Is there a way to exculde a specific direcory.
    Or would it be possible, to point to more then one directory to select the music from. So i can skip a sertain directory.

    thanks all.
     

    micha02

    Portal Member
    January 2, 2009
    46
    0
    Home Country
    Germany Germany
    AW: One Button Random Music?

    Hi all,
    Only thing i'd like to ask.

    Is there a way to exculde a specific direcory.
    Or would it be possible, to point to more then one directory to select the music from. So i can skip a sertain directory.
    That would be very great.
    I asked the same a few weeks ago.
    Second, I have the feature request to make it possible to exclude folders.
    By that way I could "say" don't play christmas-music, children-music and e.g. AC/DC.

    Thanks, bye Micha
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    ok i found out the problem: if the music db is empty (after a clean new installation) and i start the plugin mp is crashing.

    if i populate the db first, its working again :)

    nicx...
     
    C

    cYbton

    Guest
    Yes, it works well with RC2.

    But I still have the issue, when selecting "Autoplay on MediaPortal startup" that after watching a video the music playback starts again (what I want) but the screen stayed black. Can anyone test this please and confirm?
     

    jamiro

    Portal Pro
    July 14, 2007
    117
    8
    53
    Home Country
    If I use the play button to start random music using this plugin the initial press of the play button does nothing, a second press of the button gets the random music playing.

    But after the first press of the play button I find that that certain buttons on my MCE remote no longer work. For example the "info" button does nothing when pressed. In order to get the remote fully functional again I have to restart MP.

    If I set up to use one of the number buttons on the remote to start random music this problem does not occur.

    Anyone else have this problem, or know how I can get the play button to not effect my MCE remote in this way. Is there a way to turn the "play" button option completely off and just use the number button?

    Using MP 1.02 with Amped skin.
    Thanks.
     

    Users who are viewing this thread

    Top Bottom