Re: [slim] CLI/web command to search for track from specific album?
DJanGo wrote: > > I dont know if you need all of these empty requests. now i know - you' not need them.. > params = ( > ('player', 'your.player.mac.id'), > ('action', ''), > ('search.me_titlesearch', 'papa was a rolling'), > ('search.album_titlesearch', 'All Directions'), > ('saveSearch', ''), > ('submitAdvSearch', 'Suchen'), > ('searchType', 'Track'), > ) 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 discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] CLI/web command to search for track from specific album?
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 discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] CLI/web command to search for track from specific album?
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? I don't think you can do this in a single request. You could do a "tracks 0 999 search:sledgehammer album_id:999", but you'd first have to figure out the album_id. If you have 7.9's fulltext search enabled, you could simply search for "sledgehammer so". But there's no quantifier to tell the search that "so" is supposed to be the album. -- Michael ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] CLI/web command to search for track from specific album?
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? itm's Profile: http://forums.slimdevices.com/member.php?userid=17437 View this thread: http://forums.slimdevices.com/showthread.php?t=108606 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss