An alpha version of a Song Lyrics plugin is now available that provides
lyrics from lyricsfly.com through the Song Info plugin. It currently
uses a temporary API key which results in that it only shows parts of
the lyrics and it will only be valid for a week or so. I've applied for
a permanent key but the request haven't been approved yet. I'm just
posting it here in case someone is interested to help testing if it
works good enough to be usable. 

The CLI/JSON command will be:

Code:
--------------------
    
  Squeezeslave songinfoitems songlyrics track:313
  
--------------------


And the response will look as the other text items available, for
example:

Code:
--------------------
    
  00%3A00%3A00%3A00%3A00%3A03 songinfoitems songlyrics track%3A313 
text%3AIf%20I%0AShould%20stay%0AI%20would%20only%20be%20in%20your%20way%0ASo%20I'll%20go%0ABut%20I%20know%0AI'll%20think%20of%20you%20every%20step%20of%0Athe%20way%0A%0AAnd%20I...%0AWill%20always%0ALove%20you%2C%20oohh%0AWill%20always%0ALove%20you%0AYou%0AMy%20darling%20you%0AMmm-mm%0A%0ABittersweet%0AMemories%5Bb...%20***%20Your%20access%20is%20restricted%20to%2030%25%20of%20content.%20Please%20get%20permanent%20user%20ID%20key%20for%20100%25%20at%20lyricsfly.com%2Fapi%2F%20***%20%20Lyrics%20delivered%20by%20lyricsfly.com%20
 type%3Atext count%3A1
  
--------------------


And it will of course also be shown among the other track details in
the context menu of a track under the "Song Lyrics" item.

There is a possibility that lyricsfly will return several matching
lyrics, should I make them all available or just provide the first one
? 
Currently the plugin only provides the first one but it wouldn't be
problem to provide them all besides that it will generate an extra
intermediate level in the context menus if there are more than one
available.

If anyone decides to try this early version, it would be great to get
some feedback regarding:
- Does it find enough lyrics ?
- If it doesn't find the lyrics for a specific song, is it available on
the lyricsfly.com web site if you search for it through a web browser ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=76688

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

Reply via email to