Sunday, February 10, 2013

LyricWiki (complete lyric) Lyrics Module for Synology Audio Station

Audio Station Developer Guide
http://www.synology.com.tw/support/guide_audio_station.php
https://www.synology.com/support/developer#tool, find "Audio Station Guide"

Synology Audio Station 5.0 has a built-in Lyrics Module for LyricWiki. But it only shows partial lyric.

So I made a Lyrics Module that can show complete lyric from LyricWiki.

Changelog:
2019-08-24, using new domain fandom, move to GitHub, version 1.6
2016-10-09, fix lyric content parsing and bump version to 1.5
2016-04-11, fix lyric content parsing and bump version to 1.4
2015-08-25, fix API failed to search lyric
2014-08-31, update pattern to remove script in the beginning of lyric, and bump version number to 1.2
2013-03-13, fix failed to get some lyric and bump version number to 1.1

Download Link: fujirou_lyric_wiki-1.5.aum
GitHub: https://github.com/franklai/synologylyric/releases/tag/FujirouLyricWiki-1.6

Next step shall be Japanese lyric!

75 comments:

  1. would u pls check the download link and pls may I know how to install aum?

    ReplyDelete
  2. Thanks for the feedback. Download link fixed.

    You can take a look of Developer Guide for installation of aum.

    ReplyDelete
  3. Cool. Two small bugs though.

    First the plugin should preferably ignore code for italization and bold text etc. such as and .

    Second, the plugin doesn't seem to find the lyrics for Eminem - Business, even though I can find it on lyricwiki and it's named identically. I don't know what that is about. It's either something wrong on my end or the plugin has a flaw when trying to match songs. This is the only song I've had this issue with, though I haven't tested that many.

    Overall a really nice plugin. I appreciate it.

    ReplyDelete
    Replies
    1. Thanks for the feedback.

      Update to version 1.1 should be able to get lyrics of Eminem - Business.

      Delete
    2. Big thanks you for this great plugin ... that works very well !!
      Would be it possible that it's not case-sensitive ?
      Thanks :)

      Delete
  4. Thank you! It works!

    ReplyDelete
  5. Exactly what I was looking for, thanks for sharing !

    ReplyDelete
  6. Respect !
    It really works well !!!
    Thank you very much !

    ReplyDelete
  7. helo, is there an option for android?
    Thanks

    ReplyDelete
    Replies
    1. Use Android DS audio will also find lyric using this plugin

      Delete
  8. Excellent work! Thank you for sharing the fruits of your labor.

    ReplyDelete
  9. Hey thank you for this plugin, i see all those good comments but download link is broken... could you re-up please? cheers!

    ReplyDelete
  10. I'm very thankful about that plugin, you're the best :D

    ReplyDelete
  11. Hi bro, I downloaded and it seemed to work great. Yesterday I noticed the plugin is bringing some control characters in the beginning. Like 6 or 7 lines with code. I tried like 10 different songs and it seems sometimes it happens, sometimes it doesn't. Anything I did wrong.

    Thanks!!

    ReplyDelete
    Replies
    1. Hi,
      LyricWiki changed their page, so there will be a few codes in the beginning. Just update to version 1.2 to remove those codes.

      Delete
  12. This comment has been removed by the author.

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Your Text-Plugin works great, thank you!

    Question: Are the lyrics stored permanently (where?) or are they cached and dismissed every time?

    ReplyDelete
  16. Great job, work fine for me.

    Thank you!!!!

    ReplyDelete
  17. does it still work? after plugin installation there is no lyrics

    ReplyDelete
  18. When I try to add the plugin I get the error: Connection failed. Check your network settings.
    Any ideas ?
    Audio Station version 5.3.2479

    ReplyDelete
    Replies
    1. I installed it very easily. No such problems.
      Did you check your network connection to ensure you can access http://lyrics.wikia.com/Lyrics_Wiki from both the devices that are running the Audio Station server and the app?

      Delete
  19. I'm running DSM 5.1-5021 and after installing this plug-in it still displays only a few lines of lyrics. Can anybody confirm this?

    ReplyDelete
    Replies
    1. Yes. It worked for me before the update.

      Delete
    2. UPDATE: DELETE THE PLUG-IN AND UPLOAD AGAIN. WORKS PERFECT!

      Delete
  20. Great Job, works just fine! Thanks!

    ReplyDelete
  21. Respect for your work.
    Many thanks

    ReplyDelete
  22. Thank you for this great plugin, it's so good to have a seamless lyrics experience on my DS audio app.

    One question regarding line wrapping; sometimes the last word on a line doesn't show, even though it's there on http://lyrics.wikia.com/Lyrics_Wiki.
    For instance, I'm listening now to the song "Title and Registration" from the band "Death Cab for Cutie" on their album Transatlanticism. The first line of the song is correctly included on Lyrics_wiki as "The glove compartment is inaccurately named". However, on my DS audio app, it appears as "The glove compartment is inaccurately", so something seems to go wrong in the line wrapping?
    I'm using DS audio app v5.9 on iOS, and have v1.2 of your otherwise excellent plugin.

    ReplyDelete
  23. Works perfect - thank you so much :)

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. lyrics seems not to work in DS audio station anymore both the web app and the iOS app - it worked perfect a month ago. Anybody have the same experience or a solution.......?

    ReplyDelete
  26. version 1.3 shall fix the problem.

    ReplyDelete
  27. Great plugin! Thanks for your work!

    ReplyDelete
  28. New DS6 1.3 won't work:
    need to fix function toOneLine

    public static function toOneLine($string)
    {
    $string = str_replace(array("\n", "\r"), '', $string);
    return preg_replace('/>\s+<', $string);
    }


    ReplyDelete
    Replies
    1. Thanks for the feedback. Version 1.4 shall work now.

      Delete
  29. That was fast !!
    Noticed some tracks doesn't return "script" sequence also need to update lyric.php line 69 as :
    if (!$matchedString) {
    $matchedString=$lyricLine;
    //return FALSE;
    }

    ReplyDelete
  30. Hi, I'm running DSM 6.0.7321 update 6 and audio station 5.5-2985 and I can't now load any new .aum files. Keeps telling me incorrect file format? This means I can't install any 1.4.aum files to get the lyrics showing.
    Anybody got any ideas? Thanks.

    ReplyDelete
  31. Hello,

    I can't load the aum file (audio station 5.5-2985)
    Please help. File format problem

    ReplyDelete
    Replies
    1. I can install 1.4 aum on DS716+, DSM 6.0.1-7393, Audio Station 5.5-2985

      Can you try other aum, e.g. https://bitbucket.org/franklai/synologylyric/downloads/fujirou_musix_match-1.1.aum

      Delete
    2. I am using a DS214 play, DSM 6.0.1-7393, Audio Station 5.5-2985. Just tried your suggested .aum file above but the same error saying 'incorrect file format'
      I used to be able to load the .aum files no trouble, but have not been able to now for a little while and now have no lyrics at all in audio station.

      Delete
    3. Not able to reproduce this. What is your OS and browser?

      Delete
    4. Thank you for your help with this and your excellent lyric plugin. I had been trying to do the upload with an ipad air running ios 9.3.2 I am fairly sure I have done it this way in the past (but I might be wrong) I did try with my old sony laptop a while ago running windows 7 but got the same error.
      I have just now tried with my HP Laptop with fully up to date windows 7 and it has worked a treat using IE11. A last lyrics showing again in DS audio.I am a happy man.
      Thanks again for your help and I hope this may help others. Don't use an iPad, boot up the trusty old windows.

      Delete
  32. Thank you for your help with this and your excellent lyric plugin. I had been trying to do the upload with an ipad air running ios 9.3.2 I am fairly sure I have done it this way in the past (but I might be wrong) I did try with my old sony laptop a while ago running windows 7 but got the same error.
    I have just now tried with my HP Laptop with fully up to date windows 7 and it has worked a treat using IE11. A last lyrics showing again in DS audio.I am a happy man.
    Thanks again for your help and I hope this may help others. Don't use an iPad, boot up the trusty old windows.

    ReplyDelete
  33. Many thanks for this excellent plugin that I've been running for the past 6 months. Unfortunately for the last two weeks, lyrics fail to display on all client I've tested. I don't remember having updated the "Audio Station" package and the sample LyricWiki plugin still works. Is there something I might be missing ?

    ReplyDelete
    Replies
    1. Same problem here. When I manually search for the lyric, it does find it via this plugin, but unable to download. The loading text shows and then disappears, but no lyrics downloaded. The lyricwiki plugin that was delivered with teh diskstation does get the (first lines of) the lyric correctly...

      Delete
  34. Hi, thank you very much for your work and advices.
    I can't get the lyrics to work anymore. I uploaded the latest 1.4 aum file, but nothing changes. My DSM Version is :DSM 6.0.2-8451 Update 1

    ReplyDelete
  35. I can get the lyrics showing in DS Audio on my phone, but I'm not clear if the lyric .lrc files or equivalent are downloaded to the Synology. Or are they just streamed as required from the internet?

    I was hoping to get lyrics files downloaded, so that I could use them in other apps as well from the Diskstation - like Plex, which wants the .lrc files placed in the music folder along with the .mp3 files of the same name.

    ReplyDelete
    Replies
    1. The plugin will not store lyric to .lrc, it just get the content and stream out.

      Manually search lyric from the song information dialog of Audio Station can save the result. As I remember, mp3 will save to id3 tag, while other format may save to .lrc file

      Delete
  36. I'm using the LyricWiki Complete plugin about twice a week. Apparently today I'm not getting any lyrics anymore nor with the sample LyricWiki plugin. As I've changed my router since last week, could you confirm that the LyricWiki Complete plugin is actually working for you ? If so, what might be the network settings blocking the lyrics from coming in ? Thanks

    ReplyDelete
    Replies
    1. LyricWiki Complete 1.5 with Audio Station 6.0.2-3093 works well.

      Delete
    2. My fault ... I forgot to change the gateway address under the Interface Tab of the Network settings under DSM.

      Delete
  37. Hi Frank sorry for my language the plugin won't install , hangs on 'busy with saving'
    configuration with all the latest updates DSM and Audio , an idea please ?
    Or take this several minutes ?

    thanks for your time
    Erik greetings from Belgium

    ReplyDelete
  38. Run perfect in my DS918+.
    Thanks a lot!
    Best regards from Andorra :)

    ReplyDelete