synology-scrobbler
synology-scrobbler copied to clipboard
No coexistence with original fujirou_lyric_wiki plugin possible ?
Hi, I've been forced to overwrite my beloved "LyricWiki Complete" plugin, to install your. While this is no problem atm, because I'd like to test and play around, I'd really appreciate it, if you could make them both co-exist!
I tried it for myself, it was a little bit tricky, but I managed them both to co-exist and not to overwrite each other.
Mainly, you need to rename the classes, otherwise, you get errors like: audio_search_lyrics.cgi: audio_search_lyrics.cpp:208 Wrong Format:INFO class name is the same.
say, you rename the "FujirouCommon
" to, "LastFMCommon
" (in fujirou_common.php)
and "FujirouLyricWiki
" to, "LastFMfoo
". (in lyric.php)
Then both Plugins can exist at the same time in AudioStation and will do their Jobs.
In the INFO file, you need to change "name
" and "class
".
It seems, that they need to be kinda identical and the "class" needs to be the classname which is used in lyric.php
from the above renaming-examples, it would be:
"name": "Last_FM_foo",
"class": "LastFMfoo"
For education purposes, I packed new .aum file which contains the above, just to easily check with a text-comparing tool. :-)
Hope, it can help anybody.