itm wrote: 
> I've been automating my LMS playback using web requests using the
> Titlesearch command. I often request tracks that exist on many albums
> (e.g. studio, live, cover versions by different artists...). Is there a
> way of searching for a specific track on a specific album?

Hi, thats a tough one...

to find the Track Papa was a Rolling Stone from the Album All Directions
you need to build a json like this:

> params = (
> ('player', 'your.player.mac.id'),
> ('action', ''),
> *    ('search.me_titlesearch', 'papa was a rolling'),*
> ('search.contributor_namesearch', ''),
> ('search.contributor_namesearch.active1', '1'),
> ('search.contributor_namesearch.active2', '1'),
> ('search.contributor_namesearch.active4', '1'),
> ('search.contributor_namesearch.active5', '1'),
> *    ('search.album_titlesearch', 'All Directions'),*
> ('search.genre', ''),
> ('search.genre_name', ''),
> ('search.secs.op', '='),
> ('search.secs', ''),
> ('search.tracknum.op', '='),
> ('search.tracknum', ''),
> ('search.year.op', '='),
> ('search.year', ''),
> ('search.persistent_playcount.op', '='),
> ('search.persistent_playcount', ''),
> ('search.persistent_rating.op', '='),
> ('search.persistent_rating', ''),
> ('search.timestamp.op', '='),
> ('search.timestamp', ''),
> ('search.bitrate.op', '='),
> ('search.bitrate', ''),
> ('search.samplerate.op', '='),
> ('search.samplerate', ''),
> ('search.content_type', ''),
> ('search.url', ''),
> ('search.filesize.op', '='),
> ('search.filesize', ''),
> ('search.comments_value', ''),
> ('search.lyrics', ''),
> ('saveSearch', ''),
> ('submitAdvSearch', 'Suchen'),
> ('searchType', 'Track'),
> )
> 

I dont know if you need all of these empty requests.

edit Michael was faster.. ;-)


------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=108606

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to