How to set 2 lyrics addons?
#1
I'm trying to use skin setting to set up options for 2 different lyrics script.
Iv'e tried this code:
Code:
                    <control type="radiobutton" id="109">
                        <include>skin_settings_labels</include>
                        <label>$LOCALIZE[31277]</label>
                        <onclick>Skin.ToggleSetting(show_lyrics)</onclick>
                        <selected>Skin.HasSetting(show_lyrics)</selected>
                    </control>    
                    <control type="button" id="110">
                        <include>skin_settings_button</include>
                        <label>- $LOCALIZE[31127]</label>
                        <label2>[color=selected]$INFO[Skin.String(LyricScript_Path)][/color]</label2>
                        <onclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
                        <visible>Skin.HasSetting(show_lyrics)</visible>
                    </control>    
                    <control type="radiobutton" id="111">
                        <include>skin_settings_labels</include>
                        <label>$LOCALIZE[31277]</label>
                        <onclick>Skin.ToggleSetting(show_lyrics2)</onclick>
                        <selected>Skin.HasSetting(show_lyrics2)</selected>
                    </control>    
                    <control type="button" id="112">
                        <include>skin_settings_button</include>
                        <label>- $LOCALIZE[31127]</label>
                        <label2>[color=selected]$INFO[Skin.String(LyricScript_Path)][/color]</label2>
                        <onclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
                        <visible>Skin.HasSetting(show_lyrics2)</visible>
                    </control>

but when choosing a script it will set it for both of them.
how can i get this to work?
Reply
#2
for the second one you'll have to use LyricScript_Path2
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
working now.
Thank you!
Reply
#4
I have a follow up question.
I've managed to make it open the necessary lyrics script according to what language the item playing is.
If the song name or artist name have Hebrew character il-lyrics will start and if not cu-lyrics (or whatever user set).

My problem is when Israeli albums have English titles.
Is there any other way to separate them?
Reply
#5
black magic might work... how on earth could we know it's a israeli album? it's not stored anywhere.
Reply
#6
trying to get this skin working right-to-left with all things needed for Hebrew i could really used some black magic.

Thought maybe there some tags I've skipped hoping someone will find this.
Reply

Logout Mark Read Team Forum Stats Members Help
How to set 2 lyrics addons?0