Bug 14876 - Not all apps are returned by the "apps" cli command
: Not all apps are returned by the "apps" cli command
Status: REOPENED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.4.1
: All All
: -- normal (vote)
: Investigating
Assigned To: Squeezebox QA Team email alias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-21 04:14 UTC by Christian Erpelding
Modified: 2010-05-06 15:20 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Erpelding 2009-10-21 04:14:27 UTC
The apps cli command only returns some apps, not all:

It only returns:
* Napster
* Amazon
* Deezer
* Classical.com
* Last.fm
* MP3tunes
* Mediafly
* LMA
* Sounds
* Queen
* Live365
* Flickr
* Facebook

The other apps are missing.
Comment 1 James Richardson 2009-10-26 09:22:27 UTC
The API command should retun all the apps from 'my apps'  not the APPS GALLERY

Can you please tell us what command you are using, and what you are expecting in return?
Comment 2 James Richardson 2009-11-05 09:49:00 UTC
no further information has been received from the reporter.  Closing bug
Comment 3 Christian Erpelding 2010-01-17 11:25:58 UTC
Sorry for the late reply.

> The API command should retun all the apps from 'my apps'  not the APPS GALLERY

The "apps" command ALWAYS returns the apps mentioned in the original issue report.

AFAIK, there are no CLI commands for "MyApps" and "AppGallery", are they?
I would recommend to implement two new CLI commands, "myapps" and "appgallery", that allow access to the new Apps.

At the moment, the old "apps" command (formerly known as "musicservices") seems to return a static list of apps.

E.g. I have two apps in "MyApps": Shoutcast and LastFM.

If I ask the server using Jive ("myapps") I get (correctly):

{"title":"My Apps","count":2,"loop_loop":[{"id":"bc21a59f.0","name":"Last.fm","image":"http://www.mysqueezebox.com/static/images/icons/lastfm.png","type":"link","hasitems":1,"isaudio":0},{"id":"bc21a59f.1","name":"SHOUTcast","image":"http://www.mysqueezebox.com/static/images/icons/shoutcast.png","type":"link","hasitems":1,"isaudio":0}]}
{
  "count": 2,
  "loop_loop": [
    {
      "hasitems": 1,
      "id": "bc21a59f.0",
      "image": "http://www.mysqueezebox.com/static/images/icons/lastfm.png",
      "isaudio": 0,
      "name": "Last.fm",
      "type": "link"
    },
    {
      "hasitems": 1,
      "id": "bc21a59f.1",
      "image": "http://www.mysqueezebox.com/static/images/icons/shoutcast.png",
      "isaudio": 0,
      "name": "SHOUTcast",
      "type": "link"
    }
  ],
  "title": "My Apps"
}


If I ask the server using CLI, I get:
(This answer is independent of the apps that I've actually added to MyApps)

{"params":["00:04:20:06:3b:8e",["apps","0","100"]],"method":"slim.request","id":1,"result":{"count":13,"appss_loop":[{"icon":"plugins/Napster/html/images/icon.png","cmd":"napster","weight":25,"name":"Napster","type":"xmlbrowser"},{"icon":"plugins/Amazon/html/images/icon.png","cmd":"amazon","weight":30,"name":"Amazon CD Store","type":"xmlbrowser"},{"icon":"plugins/Deezer/html/images/icon.png","cmd":"deezer","weight":35,"name":"Deezer","type":"xmlbrowser"},{"icon":"plugins/Classical/html/images/icon.png","cmd":"classical","weight":38,"name":"Classical.com","type":"xmlbrowser"},{"icon":"plugins/LastFM/html/images/icon.png","cmd":"lfm","weight":40,"name":"Last.fm Radio","type":"xmlbrowser"},{"icon":"plugins/MP3tunes/html/images/icon.png","cmd":"mp3tunes","weight":50,"name":"MP3tunes Music Locker","type":"xmlbrowser"},{"icon":"plugins/Mediafly/html/images/icon.png","cmd":"mediafly","weight":55,"name":"Mediafly","type":"xmlbrowser"},{"icon":"plugins/LMA/html/images/icon.png","cmd":"lma","weight":60,"name":"Live Music Archive","type":"xmlbrowser"},{"icon":"plugins/Sounds/html/images/icon.png","cmd":"sounds","weight":1000,"name":"Sounds & Effects","type":"xmlbrowser"},{"icon":"plugins/Queen/html/images/icon.png","cmd":"queen","weight":1000,"name":"Queen","type":"xmlbrowser"},{"icon":"plugins/Live365/html/images/icon.png","cmd":"live365","weight":1000,"name":"Live365","type":"xmlbrowser"},{"icon":"plugins/Flickr/html/images/icon.png","cmd":"flickr","weight":1000,"name":"Flickr","type":"xmlbrowser"},{"icon":"plugins/Facebook/html/images/icon.png","cmd":"facebook","weight":1000,"name":"Facebook","type":"xmlbrowser"}]}}