INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Customizing Webgizmo functions  (Read 1533 times)

akhunaton

  • Regular Member
  • World Citizen
  • ***
  • Posts: 136
  • I Love Music
Customizing Webgizmo functions
« on: January 17, 2013, 04:42:40 pm »

I would like to add some buttons to the playing now page that launch defined playlists and plays shuffled. Where are the command definitions located for webgizmo?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Customizing Webgizmo functions
« Reply #1 on: January 17, 2013, 05:18:49 pm »

WebGizmo improvements are quite welcome.

Look in [MC]\Data\Library Server\Gizmo
Logged
Matt Ashland, JRiver Media Center

akhunaton

  • Regular Member
  • World Citizen
  • ***
  • Posts: 136
  • I Love Music
Re: Customizing Webgizmo functions
« Reply #2 on: January 22, 2013, 11:54:14 am »

I figured out how to make a link play my playlist shuffled but there is a problem because the id changes after every reboot.

javascript:download('MCWS/v1/Browse/Files?ID=1083&Action=Play&Shuffle=1&Zone=[ModeZone.ID]&Token=[Token]')

How do I specify a playlist by name? instead of ID=1083?
Logged

akhunaton

  • Regular Member
  • World Citizen
  • ***
  • Posts: 136
  • I Love Music
Re: Customizing Webgizmo functions
« Reply #3 on: January 24, 2013, 02:18:23 pm »

Does any one know how I do this  ?
Logged

akhunaton

  • Regular Member
  • World Citizen
  • ***
  • Posts: 136
  • I Love Music
Re: Customizing Webgizmo functions
« Reply #4 on: February 01, 2013, 12:29:33 pm »

Should I start a new thread on this subject? Or, is it impossible to specify a playlist by name?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Customizing Webgizmo functions
« Reply #5 on: February 01, 2013, 01:08:13 pm »

I think you would want to use the Playlist/Files function to play a playlist by path.

Browse IDs are only valid for a run.  You always need to browse by path starting at the root and get new IDs.
Logged
Matt Ashland, JRiver Media Center

akhunaton

  • Regular Member
  • World Citizen
  • ***
  • Posts: 136
  • I Love Music
Re: Customizing Webgizmo functions
« Reply #6 on: February 17, 2013, 03:10:41 pm »

Thanks Matt.

This worked perfectly  8)

javascript:download('MCWS/v1/Playlist/Files?PlaylistType=Path&Playlist=Reggae&Action=Play&Shuffle=1&Zone=[ModeZone.ID]&Token=[Token]')
Logged
Pages: [1]   Go Up