Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No coexistence with original fujirou_lyric_wiki plugin possible ? #5

Open
gitgetgot opened this issue Jul 6, 2017 · 0 comments
Open

Comments

@gitgetgot
Copy link

gitgetgot commented Jul 6, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant