My lyrics skin modification help (1 Viewer)

digmaster

Portal Member
September 7, 2009
19
4
Amsterdam, NL
Home Country
England England
Hi all,

First off I'm using MP1.1.0.0, the latest version of Streamed MP and the lastest version of myLyrics.

What I want to do is strip out everything but the lyrics from the myLyrics screen, shrink the lyrics area down (to 5 lines) and import this into the Now Playing screen.

OK, so I've stripped everything out of the lyrics screen but I can't shrink the lyrics area down. If I remove Lines 6 to 12 from my file, only the first 6 lines of lyrics appear (which is what I want) but it acts as though all 12 lines are still there and doesn''t display any more lyrics until it jumps to the next page.

A screenshot of what I've managed so far:

mylyricsmods.jpg


My next problem is when I import this modified screen into NowPlaying I get the "Line" and "Time" labels instead of the lyrics. Screenshot (of course I need to move things around, this is just a rough example):

npProblem.jpg


Attached are the original myLyrics.xml files for Streamed MP and my modified file. Any help with this will be most appreciated, it's driving me mad!

Cheers!
 

Attachments

  • myLyrics.xml
    30.6 KB
  • myLyrics_DiggyMods.xml
    30.7 KB

mackey

Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    There are some restrains and limitations of the current plugin-system and in the code for MyLyrics that make it a really hard task for you to achieve the inclusion of lyrics on the NowPlaying screen. It might be possible to enable the MyLyrics plugin from the nowplaying xml file, but the xml file for MyLyrics and nowplaying checks for different skin ID's which could a problem. your second problem tells me that your current changes to the nowplaying file don't start up the MyLyrics plugin which natural is required. Currently it is not possible to start up the plugin from a screen id different from 90478 which is the ID for mylyrics.xml. This calls for a change in mylyrics.

    I'm pretty sure that the code behind the nowplaying screen needs some changes as well. Since this wont happen due to the rather strict feature-frezze in MP 1.10 it will most likely not be possible now or in the future to fully incorporate MyLyrics into the NowPlaying screen, as I see it. Sadly. However, most skins (and also) have a link to the MyLyrics xml file which i personally find to be an adequate solution.

    Regarding your first problem, you are right that you cannot change the number of lines required on the LRC screens. The current number of lines are 13, and it wont change based on the number of pairs of controls you have in the lyrics.xml file. If it is possible to lookup the number of LRC related controls in the xml file, then it will be possible to dynamically change the number of considered lines in the code behind. I'll look into this towards the next version of MyLyrics.

    cheers
     

    digmaster

    Portal Member
    September 7, 2009
    19
    4
    Amsterdam, NL
    Home Country
    England England
    Mackey,

    For starters, thank you so much for your quick reply. And secondly, thank you so much for a wonderful plugin. Also, I didn't realise about the LRC editor until today. Now I'm uploading as many as I can! Great work!

    OK, so basically I should stop trying to do what I want to do (and maybe save some hair in the process)! What I was trying to acheive was to get rid of that stupid "Top Album Tracks" part at the bottom of the the Streamed MP Now Playing screen and replace it with the myLyrics plug in on the left and a list control for album tracks on the right. I love all these features, but there's just too many different screens to deal with at the moment. It would be nice to incorporate everything on one screen.

    So, obviously, from your reply, this can't be done. Can I just ask though, if it's possible to modify myLyrics.xml to show the features I have in my screenshot (ie, band fanart in the background etc) so I can use this as my new "Now Playing" screen (I really want the lyrics in there)?!. Also, is it possible to jump straight into the lyrics screen as soon as you hit play on a track/album or a shortcut key?

    As I say, I really love all these features MP has to offer but there's just far too many screens to deal with and not enough monitors!

    Cheers! :D
     

    mackey

    Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    Thanks for the kind words. I'm glad you like MyLyrics and also contribute to the LRCFinder database which BennieBoy was so kind to develop.

    Yup, I would consider to stop trying if I was you. No need to get bald because of this issue :)

    You should be able to change band fanart based on the current artist. Have a look at the aMPed skin by Dadeo does exactly this. See screenshot here and skin info here. If you then changes the ID of the NowPlaying screen in the links within MyMusic skins with the one for MyLyrics (90478) then you should jump to MyLyrics instead of NowPlaying. However I don't think it is possible automatically to jump to the mylyrics screen when you hit play. Again this feature is handled by MyMusic which the plugin cannot affect in any way.

    And yes, there are many features/screens within and understand why you would like to create you own user-configured screen. The plugin-system within MP-I however is rather restricted here. This is greatly improved within MP-II, where the code and screens of plugins are decoupled. Here you would be able to do exactly that you had in mind. Only drawback is that the first official release of MP-II wont be out the next 1-2 years. ;)

    cheers
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    Hi you might be more happy with the new lyrics screens that trevor has made



    I'm thinking about doing a similar thing, but i have a different idea on how to acheive it.
    Basically instead of trying to encorporate my lyrics into now playing, just forget about the now playing screen.
    Modify the my lyrics.xml LRC mode to acheive the look you want.

    I was thinking of doing something like this:

    54854d1265072549-my-lyrics-1-41-december-4th-2009-lyrics.jpg


    But it would require a few changes to the my lyrics plugin

    1. Add 3 additional skin controls so user can display the current LRC line, as well as the line above and the line below

    2. Add an option in My lyrics configuration to stop the plugin automatically jumping between LRC and LYRICS mode

    3. Add a control that returns the current MP star rating for the currently playing track

    4. Add ability to change the star rating by pressing 1->5 numeric keys

    5. Add a visibility conditional control tag so i can add an additional background overlay when in non LRC mode (ie LYRIC mode / LRC creation mode)

    lyrics.jpg

    lrceditor.jpg

    lrc.jpg
     

    Users who are viewing this thread

    Top Bottom