MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins » Hot Plugins » My Lyrics Plugin


My Lyrics Plugin MediaPortal Lyrics Plugin

Closed Thread
 
Thread Tools Display Modes
Old 2006-12-28, 14:25   #141 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,936
Thanks: 67
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

I've done a fair bit of tweaking to the MyLyrics xml to make it look good on my screen.

this is the code for the Blue Two Wide and Mepo Wide:

Code:
<window>
  <id>90478</id>
  <defaultcontrol>2</defaultcontrol>
  <allowoverlay>yes</allowoverlay>
  <controls>
    <control>
      <type>image</type>
      <description>BackGround</description>
      <id>1</id>
      <posX>0</posX>
      <posY>0</posY>
      <texture>background.png</texture>
    </control>
    <control>
      <type>image</type>
      <description>title image</description>
      <id>0</id>
      <posX>60</posX>
      <posY>20</posY>
      <texture>music_logo.png</texture>
    </control>
    <control>
      <type>label</type>
      <description>caption label</description>
      <id>1</id>
      <posX>250</posX>
      <posY>70</posY>
      <label>My Lyrics</label>
      <font>font16</font>
      <align>right</align>
      <disabledcolor>ffffffff</disabledcolor>
    </control>    
    <control>
      <description>Artist and track</description>
      <type>fadelabel</type>
      <id>10</id>
      <posX>64</posX>
      <posY>120</posY>
      <width>780</width>
      <label>-</label>
      <font>font18</font>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <description>Status</description>
      <type>label</type>
      <id>11</id>
      <posX>80</posX>
      <posY>150</posY>
      <label>-</label>
      <font>font12</font>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <description>The Lyric area</description>
      <type>textbox</type>
      <id>20</id>
      <posX>440</posX>
      <posY>180</posY>
      <width>720</width>
      <height>580</height>
      <label>-</label>
      <seperator>----------------------------------------------------------------------------------------------</seperator>
      <font>font14</font>
      <onleft>2</onleft>
      <onright>2</onright>
      <onup>2</onup>
      <ondown>2</ondown>      
      <textcolor>ffdddddd</textcolor>
    </control>
  </controls>
</window>
I've made the fonts larger and allocated a lot more room to display the lyrics.
I ha ve had to add it like this. For some reason XML's aren't allowed to be added to posts as attachments.

Last edited by Marcusb; 2006-12-28 at 14:28.
Marcusb is offline  
Old 2006-12-28, 16:47   #142 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

Quote:
Originally Posted by jabalsad View Post
Hey, nice work on the my lyrics addon.

I was wondering if there is anyway to increase the font size how the lyrics is displayed, or if it depends on the skin i'm using.

Thanks
Nice feature to include; I'll see if it is possible, and eventually include the feature in the next release.

And thanks, Marcusb. I haven't really looked into the layout 16:9 skins yet. I'll test the above code and most likely use in the MyLyrics.xml file for Blue Two Wide. Thanks again.
mackey is offline  
Old 2006-12-29, 11:46   #143 (permalink)
Portal Member
 
d-fader's Avatar
 
Join Date: Sep 2006
Location: I live in Purmerend, a small town just above Amsterdam (Netherlands)
Age: 28
Posts: 55
Thanks: 1
Thanked 12 Times in 6 Posts

Country:

My System

Default

First I would like to say this plug-in is really awesome! Let's hope it will be integrated with MyMusic (s00n)!

I just had a little spin-off while listening to some music. Mostly not all the lyrics fit on one page and you have to scroll manually to another page. So maybe it's an idea to make an option which, when enabled, automatically switches to the correct page while playing a song. Of course this cannot be accurately calculated, but I think that when you divide the time with the pages you can get a pretty accurate guess. Meaning that when a song lasts 4:00 and there are 50 lines of lyrics you can guess the current page page (one line takes (4*60)/50 seconds = 4.8 and when there are 20 lines per page, the page should flip to page two on 4.8*20=96 seconds).

As I said, it is a spin-off, you could also introduce a special method in which you can enter the times in the song which page should be shown (and when no info found, the above 'guessing mechanism' will be used).

Would this have a chance of actually working? Haven't tried it with any song yet, maybe we can discuss it here

Again, thanks for this GREAT plug-in!

Last edited by d-fader; 2006-12-29 at 11:49. Reason: typos
d-fader is offline  
Old 2006-12-29, 12:42   #144 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,698
Thanks: 120
Thanked 126 Times in 87 Posts

Country:

My System

Default

for the feature you describe there is already a simple solution to use the lyrics tag from mp3 files (see http://www.id3.org/Lyrics3v2 )
__________________
rtv is offline  
Old 2006-12-29, 13:14   #145 (permalink)
Portal Member
 
d-fader's Avatar
 
Join Date: Sep 2006
Location: I live in Purmerend, a small town just above Amsterdam (Netherlands)
Age: 28
Posts: 55
Thanks: 1
Thanked 12 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by rtv View Post
for the feature you describe there is already a simple solution to use the lyrics tag from mp3 files (see http://www.id3.org/Lyrics3v2 )
Looks awesome, never seen it!
d-fader is offline  
Old 2006-12-29, 15:22   #146 (permalink)
Portal Member
 
ZetaVu's Avatar
 
Join Date: Dec 2005
Posts: 161
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ok, getting some time to play with this plugin, quick questions, does it work with 0.2.2.0? Also, google is not giving any more licenses, what is the workaround? Does it read lyrics from id3 files yet or just database, and is there a way to get the lyrics from id3 into the database if so? Last, does this work with the option in full screen visualizations to display lyrics? (fourth tab under music in setup, it's greyed out as an option)

Thanks
ZetaVu is offline  
Old 2006-12-29, 21:06   #147 (permalink)
Portal User
 
Join Date: Dec 2006
Age: 49
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Sorry to be an idiot but I cannot work out where to place the downloaded files. Could anyone explain this to me if possible
Thanks
skippa59 is offline  
Old 2006-12-29, 23:30   #148 (permalink)
Portal Member
 
orencha's Avatar
 
Join Date: Feb 2005
Location: Kfar Vitkin
Age: 32
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

I've done some modifications to the MyLyrics.xml file. It now looks more like the Now Playing screen. I've even mapped my Happauge remote button to go to this window instead of the "MyMusicPlayingNow" window
(I've only tested it with the BlueTwo skin).

Code:
<window>
  <id>90478</id>
  <defaultcontrol>2</defaultcontrol>
  <allowoverlay>no</allowoverlay>
  <controls>
    <control>
      <type>image</type>
      <description>BackGround</description>
      <id>1</id>
      <posX>0</posX>
      <posY>0</posY>
      <texture>background.png</texture>
    </control>
    <control>
      <type>image</type>
      <description>title image</description>
      <id>0</id>
      <posX>60</posX>
      <posY>20</posY>
      <texture>music_logo.png</texture>
    </control>
    <control>
      <type>label</type>
      <description>caption label</description>
      <id>1</id>
      <posX>270</posX>
      <posY>70</posY>
      <label>Lyrics</label>
      <font>font16</font>
      <align>right</align>
      <disabledcolor>ffffffff</disabledcolor>
    </control>    
    <control>
      <description>Status</description>
      <type>fadelabel</type>
      <id>11</id>
      <posX>456</posX>
      <posY>121</posY>
      <width>216</width>
      <label>-</label>
      <font>font12</font>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <description>The Lyric area</description>
      <type>textbox</type>
      <id>20</id>
      <posX>55</posX>
      <posY>105</posY>
      <width>380</width>
      <height>325</height>
      <spinPosX>615</spinPosX>
      <spinPosY>377</spinPosY>
      <label>-</label>
      <seperator>----------------------------------------------------------------------------------------------</seperator>
      <font>font12</font>
      <onleft>2</onleft>
      <onright>2</onright>
      <onup>2</onup>
      <ondown>2</ondown>      
      <textcolor>ffdddddd</textcolor>
    </control>
    <!-- the following was imported by Oren from "Now Playing" -->
    <control>
      <type>image</type>
      <description>menu background image</description>
      <id>0</id>
      <posX>31</posX>
      <posY>425</posY>
      <width>670</width>
      <height>142</height>
      <texture>osd_bg.png</texture>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <type>image</type>
      <description>background hover image</description>
      <id>0</id>
      <posX>40</posX>
      <posY>443</posY>
      <width>90</width>
      <height>126</height>
      <texture>music.png</texture>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <type>fadelabel</type>
      <description>track label</description>
      <id>0</id>
      <posX>138</posX>
      <posY>452</posY>
      <width>420</width>
      <height>20</height>
      <label>#Play.Current.Title</label>
      <font>font18</font>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <type>fadelabel</type>
      <description>artist label</description>
      <id>0</id>
      <posX>138</posX>
      <posY>484</posY>
      <width>288</width>
      <height>20</height>
      <label>#Play.Current.Artist</label>
      <font>font16</font>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <type>fadelabel</type>
      <description>album label</description>
      <id>0</id>
      <posX>138</posX>
      <posY>512</posY>
      <width>288</width>
      <height>20</height>
      <label>#Play.Current.Album</label>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <type>label</type>
      <description>track progress</description>
      <id>0</id>
      <posX>664</posX>
      <posY>457</posY>
      <label>#currentplaytime / #duration</label>
      <font>font14</font>
      <align>right</align>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <type>fadelabel</type>
      <description>current track</description>
      <id>0</id>
      <posX>663</posX>
      <posY>489</posY>
      <width>300</width>
      <label>#Play.Current.Track</label>
      <align>right</align>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <type>fadelabel</type>
      <description>year label</description>
      <id>0</id>
      <posX>663</posX>
      <posY>512</posY>
      <width>200</width>
      <label>#Play.Current.Year</label>
      <align>right</align>
      <textcolor>80ffffff</textcolor>
    </control>
    <control>
      <type>image</type>
      <description>nowplaying background</description>
      <id>0</id>
      <posX>440</posX>
      <posY>105</posY>
      <width>250</width>
      <height>307</height>
      <texture>nowplaying_background.png</texture>
      <animation effect="fade" time="150">WindowOpen</animation>
    </control>
    <control>
      <description>video preview window</description>
      <type>videowindow</type>
      <id>0</id>
      <posX>456</posX>
      <posY>149</posY>
      <width>216</width>
      <height>220</height>
      <animation effect="fade" time="500">WindowClose</animation>
      <animation effect="fade" time="250">WindowOpen</animation>
    </control>
  </controls>
</window>
__________________
- Oren.
(learn more about Agent Oren - visit my website)
orencha is offline  
Old 2006-12-29, 23:37   #149 (permalink)
Portal Member
 
orencha's Avatar
 
Join Date: Feb 2005
Location: Kfar Vitkin
Age: 32
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

One more thing:

Is there a plan to implement timestamps (like in lyrics3v2) in the MyLyrics plugin? I've lot's of timestamped lyrics, some are inside ID3 and some (many of them actually) in .txt files...

If not planned for the near future, can MyLyrics at least ignore (not display) those timestamp? I want to build my lyrics database already with timestamped lyrics... Should be simple to implement... The lyrics engine should just filter out [nn:nn] chars from the beginning of the line, if they exist.
__________________
- Oren.
(learn more about Agent Oren - visit my website)
orencha is offline  
Old 2006-12-30, 00:12   #150 (permalink)
Portal Member
 
Join Date: May 2006
Location: right there
Age: 30
Posts: 249
Thanks: 8
Thanked 24 Times in 9 Posts

Country:


Default

The idea of using Lyrics3v2 seems like a natural choice and at first sight a rather easy thing to implement. However the latter is far from truth. Unfortunately it's no ease to fetch the information that is saved in the lyric section of the mp3 tag, all though it is possible and could be done. However, everyone who has looked a bit indepth on id3's, knows that saving information to the lyric portion of a tag is even harder and don't seem reasonable to implement just so.

There IS frameworks and software that support id3 versions, however they are all unmanaged, complicated to use and comes in large portions of code that support so much other features than just the treatment of lyrics. you should not forget that there are multiple versions of id3 that all should be treated differently in loading and storing lyrics from the tag. Besides the muliple id3 versions for mp3s, there are filetypes like wma, ogg, wav etc. that all should be supported for the lyric tagging to function as desired.

The support for all these different tags is besides not a reasonable task to do just for the benefit of this plugin. The support and writing to tags is a general feature that should be supported by the MP core, and not be implemented solely for MyLyrics. I know that this have been requested by others in the discussion of MyMusic but that hwahrmann rejected it due to the complexility of the task. I believe the words were something like "the amount of work "just" to be able to read tag, seems quite enough". I think that the work that hwahrmann, SteveV and others have done on the tagreader is amazing, but I know that a similar feature of writing tag-files will be quite different to implement. Accordingly the support for e.g. lyric id3 tagging doesn't seem possible now or in the near future.

Instead, the use of lrc-files seems like a more realistic approach and it is on my to do list. For more information on lrc: http://lrclyrics.50webs.com/whatis.html

Thanks d-fader for sharing your thoughts and ideas. Also for the nice comments, I appreciate. I have considered implementing a feature like that, but thinks it would be impossible to find a mechanism that suites more than 30-40 of songs and for the rest just will be quite annoying. I believe that a lrc-support with a editor of some sort will be a better solution.
mackey is offline  
Closed Thread

Bookmarks

Tags
lyrics, original, plugin, thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
About: My Lyrics Plugin mackey My Lyrics Plugin 10 2008-11-28 21:50
(original thread) MCE Replacement Plugin v1.0.0 and-81 MCE Replacement Plugin 532 2007-02-24 00:24
(original thread) MP-TVSeries Inker My TVSeries 666 2007-02-21 22:15
Lyrics Plugin Anonymous Improvement Suggestions 0 2004-05-07 19:09


All times are GMT +1. The time now is 09:37.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden