[RELEASE] CU Lyrics (Script) Addon - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Lyrics Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=146) +---- Thread: [RELEASE] CU Lyrics (Script) Addon (/showthread.php?tid=62853) |
- dny238 - 2010-01-06 PS: Is there a way for me to manually correct the title on screen, rather than editing the MP3? Rob - amet - 2010-01-06 dny238 Wrote:I found a setting to auto scroll, assuming that would cause the lyrics to roll during the duration of the song. But picking it doesn't have any apparent effect that I can see. I will try and spend some time on this over the weekend, I will post a "beta" version here once its done and whoever is comfortable using it can try. if and when new features are polished and fixed I will add it to SVN repo installer dny238 Wrote:Is there a way to paypal a contribution for all your hardwork? If you wish, you can donate to XBMC Cheers Zeljko - dny238 - 2010-01-06 Are the 'beta' releases available publicly? Can you point me to the correct URL? Thanks in advance, Rob - amet - 2010-01-06 dny238 Wrote:Are the 'beta' releases available publicly? there is no beta releases. ronie and I test them. when its ready it will be posted here. - dny238 - 2010-01-07 Amet Wrote:there is no beta releases. ronie and I test them. when its ready it will be posted here. Ok. 2 questions 1) The current version will occasionally show me the previous lyric file on the current song. Hitting next and prev will usually fix it, but that shouldn't be necessary. Is this a known issue? 2) The SVN version isn't automatically scrolling for me. Is that a known issue, or am I doing something wrong. I checked an option called smooth scroll in the prefs. Thx - ZorMonkey - 2010-01-09 Hey, Python is fun! I was trying to track down a problem (displays incorrect lyrics once in a while) but I ended up not finding that bug, but I changed other little things in the process.
It's all in this function from gui.py, if you want it: Code: def show_lyrics( self, rawLyrics, save=False ): Standard disclaimers apply (I've spent maybe 4 hours in Python total, so it's likely that I don't know what I'm doing) - dny238 - 2010-01-16 Hey All. I got tired of 25% of my lyric lookups failing because of capitalization problems, so I put together this crappy hack to try to fix it. It seems to work a bit better. Thanks, Rob PHP Code: def get_lyrics(self, artist1, song1, show): - dny238 - 2010-01-19 I'm using the new confluence skin and have a few issues 1) I can't get CU Lyrics to scroll lyrics automatically. Is there something more to it? I can scroll manually, but I'd prefer it just roll by itself. 2) Long lines aren't wrapping properly in the popout window CU Lyrics provides on the right side for the lyrics display. Rob - amet - 2010-01-19 dny238 Wrote:I'm using the new confluence skin and have a few issues It doesnt scroll automatically, you can set it to "smooth scroll" under script settings. that will scroll line by line dny238 Wrote:2) Long lines aren't wrapping properly in the popout window CU Lyrics provides on the right side for the lyrics display. Try with smooth scrolling, i think it might wrap there. Zeljko - dny238 - 2010-01-20 Amet Wrote:It doesnt scroll automatically, you can set it to "smooth scroll" under script settings. that will scroll line by line Got it. I was overthinking it. Can you add a autoscroll option to the script? I imagined it working like this. (Numbers are fake to illustrate the math) 1) Song is 3 minutes long 2) View is 90 lines high starting with 30 lines visible. - 60 lines left to see. 3) 180 seconds / 60 lines = 3 seconds per line. 4) Every 3 seconds automatically scroll down one line. It won't be perfect, but I'd bet it'd work more often than not. Rob - amet - 2010-01-20 dny238 Wrote:Got it. I was overthinking it. sure, unless you like pink floyd I have done something similar, having some issues with it so it was never released. I might revisit the problem when I have some time. In a week or two. Zeljko - dny238 - 2010-01-20 Amet Wrote:sure, unless you like pink floyd Thanks! Sounds good. I have some time to bang away on some sample code, if you want help. Many hands make light work. Rob - ZorMonkey - 2010-01-21 I fixed the bug where it'd display lyrics for the wrong song in certain cases. But, that snowballed into a lot of refactoring. Nothing major, just stuff like making the "show_lyrics" method show lyrics, and that's it. The biggest change is that I created classes for song and lyrics information, which helped fix the bug I mentioned. Still not sure I'm 100% happy with it, but its a lot easier for me to follow now. I zipped up everything and put the source online. Do with it what you will. My next project is to help the scraper a little. I want to parse the lyrics better (to pick up italics/bold formatting), and I have some ideas to get lyrics more reliably and quicker. - ZorMonkey - 2010-01-23 ZorMonkey Wrote:I fixed the bug where it'd display lyrics for the wrong song in certain cases. But, that snowballed into a lot of refactoring. Nothing major, just stuff like making the "show_lyrics" method show lyrics, and that's it. The biggest change is that I created classes for song and lyrics information, which helped fix the bug I mentioned. Still not sure I'm 100% happy with it, but its a lot easier for me to follow now. I zipped up everything and put the source online. Do with it what you will. Well, these changes work like crap on an Xbox. The UI and everything freezes up for a few seconds when switching songs. It seemed okay on Windows. BOOOO. I'll have to see about that - xbmcmomomo - 2010-01-24 I have some tracks that dont have mp3 id tags. (the same as when artist tag is missing). Is it possible to just search on the filename eg: Life_on_your_own.mp3 to do a search on : http://lyrics.wikia.com/Special:Search?search=life+on+your+own&go=1 then just scrape the first result (it is most likely to be the correct one!!). <ul class='mw-search-results'> <li><a href="http://lyrics.wikia.com/wiki/The%20Human%20League%3ALife%20On%20Your%20Own" </li> |