Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jul 2010
    Posts
    237

    jivelite menu: command to jump to track's songinfo/contextmenu page

    Hi.

    I'd like to add a menu item in a jivemenu that leads straight to a track's song details/songinfo/contextmenu page. Basically the jivemenu equivalent of the LMS web UI songinfo.html page.

    The track_id is available. What's the command to do so? It should fit somewhere in here:

    Code:
    $actions = {
    	'do' => {
    		'cmd' => [somecommand, maybeaparameter, 'track_id:'.$trackID],
    	},
    	'play' => {
    		'cmd' => [somecommand, maybeaparameter, 'track_id:'.$trackID],
    	}
    };
    # other stuff
    $request->addResultLoop('item_loop',$cnt,'actions',$actions);
    I've tried but couldn't get it without bad params errors. Thanks.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,536

    jivelite menu: command to jump to track'ssonginfo/contextmenu page

    > I'd like to add a menu item in a jivemenu that leads straight to a
    > track's song details/songinfo/contextmenu page. Basically the jivemenu
    > equivalent of the LMS web UI songinfo.html page.


    00:04:20... trackinfo items 0 200

    That would give you the menu for the currently playing track. Add
    "url:..." or "track_id" to get info for a specific title.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •