Wirrunna wrote: 
> 
> I've been using the function to display other jpg files and have have a
> couple of comments -
> 1. There is an icon that when clicked "resize image to window size", I
> suggest that the resized image be the default display and the icon
> "display image at original size".
> 2. If there is more than one image, e.g. a booklet painstakingly
> scanned, the user has to close the first image displayed, right click on
> the postage stamp sized cover art and select the next image to display.
> Could a simple arrows be added up near the resize icon if there is more
> than one image ? e.g. Next Image, Last image kind of thing.
> 
I'll put this into the next version.

> 
> 3. In the Currently Playing section, could an indicator be added to
> indicate the presence of extra images - then maybe if the album cover
> image is clicked display the cover image at window size complete with
> the arrows mentioned in #2.
> 
Not so sure about this. What type of indicator would this be?

> 
> 4. Cosmetic problem on my display, the little window that pops up after
> right clicking the small image has the list of images repeated.
> (Chrome)
> 
Do you mean the "Image" context menu? Never have seen this - can you
enable "debug" level logging for the plugin in Settings/Advanced/Loggin,
right-click the cover image and look for a message like this:

Code:
--------------------
    
  [13-04-07 22:32:53.1405] Plugins::LMSnewGUI::Plugin::getImagesForTrack (1528) 
res=[{'width' => 600,'name' => 'altcover','url' => 
'/plugins/LMSnewGUI/dynImage.jpg?imagePath=/data/music/Artist - 
Album/altcover.jpg','trackid' => '709506','height' => 592},{'width' => 
500,'name' => 'cover','url' => 
'/plugins/LMSnewGUI/dynImage.jpg?imagePath=/data/music/Artist - 
Album/cover.jpg','trackid' => '709506','height' => 494}]
  
--------------------


Are there any images duplicated already in this output?

> 
> You appear to be putting a lot of effort into Discogs data retrieval - 
> 
Discogs is just brilliant, they have data on just about any release ever
produced (even really obscure bootlegs limited to 10 hand-signed audio
cassettes distributed as a bonus for a fanzine published in Ecuador in
1983 ;-)

> 
> what data do you send Discogs to identify the currently playing track -
> in my limited testing I appear to get nothing back, what should I expect
> ? ... there is not much in the Help
You should expect most of the data that's being displayed on the
discogs.com website for releases and artists.
For a release (~album), the search is done using artist, album title and
year (if available). I have a hit rate of nearly 100%, if it's not found
it's usually that I have the year wrong, or that the title is different
(e.g. having the type of the album included, as in "Whatever EP",
"Whatever (Remastered)"). Have a look at the network section in Chrome's
Dev Tools to see what's sent. Example:

Code:
--------------------
    
  
http://api.discogs.com/database/search?type=master&artist=Seefeel&release_title=Polyfusia&year=
  
--------------------

If there is a "results" section in the response, the album has been
found. Example:

Code:
--------------------
    
  ... "results": [{"style": ["Abstract", "IDM", "Shoegazer", "Ambient"], ...
  
--------------------

You can take the API link, change the parameters for one of your albums,
and test it yourself in a browser.


------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=98186

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

Reply via email to