Kodi Community Forum
Release CU LRC Lyrics - 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 LRC Lyrics (/showthread.php?tid=147340)



RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

(2016-03-05, 17:22)IgorA100 Wrote: Hello!
Please help me.
Kodi - v16
addon - v4.1.9

I have a lirc file:
[00:12.8]Жан[00:13.4]на [00:14.0]из [00:14.3]тех [00:14.9]
[00:14.91]ко[00:15.5]ро[00:15.9]лев [00:19.0]
[00:19.01]Что [00:19.5]лю[00:20.1]бят [00:20.5]

When playing mp3 on the screen I can see:
Жан[00:13.4]на [00:14.0]из [00:14.3]тех [00:14.9]
ко[00:15.5]ро[00:15.9]лев [00:19.0]
Что [00:19.5]лю[00:20.1]бят [00:20.5]

Ie the lists all the timings, except for the first in a string
Why output timings on the screen and lights up the entire string as a whole, and not the individual words in it?
Debug log on, but nothing in it is not

does the lrc file have a .lrc extension?

to create a debug log, you also need to enable logging in the cu lrc addon settings.


RE: [RELEASE] CU LRC Lyrics - IgorA100 - 2016-03-05

(2016-03-05, 17:25)ronie Wrote: does the lrc file have a .lrc extension?
Yes.
Liric: 00001_ulitsa_roz.lrc
mp3:00001_ulitsa_roz.mp3
mp3 & lrc are in the same folder

(2016-03-05, 17:25)ronie Wrote: to create a debug log, you also need to enable logging in the cu lrc addon settings.
Yes I know.
I mean that there are no errors in the log files or some helpful information

Log file is available at the following link:
http://kentavr.com.ru/_pub_files/kodi.log

Settings:
Code:
<settings>
    <setting id="baidu" value="true" />
    <setting id="clean_title" value="false" />
    <setting id="darklyrics" value="true" />
    <setting id="genius" value="true" />
    <setting id="gomaudio" value="true" />
    <setting id="log_enabled" value="true" />
    <setting id="lyricsmode" value="true" />
    <setting id="lyricwiki" value="true" />
    <setting id="read_filename" value="false" />
    <setting id="read_filename_format" value="1" />
    <setting id="save_filename_format" value="0" />
    <setting id="save_lyrics1" value="false" />
    <setting id="save_lyrics2" value="true" />
    <setting id="save_lyrics_path" value="/home/igora100/.kodi/userdata/addon_data/script.cu.lrclyrics/lyrics" />
    <setting id="save_subfolder" value="false" />
    <setting id="save_subfolder_path" value="lyrics" />
    <setting id="search_embedded" value="true" />
    <setting id="search_file" value="true" />
    <setting id="service" value="true" />
    <setting id="silent" value="false" />
    <setting id="strip" value="false" />
    <setting id="ttplayer" value="true" />
</settings>



RE: [RELEASE] CU LRC Lyrics - YeeP - 2016-03-05

Ronnie, I just wanted to say i like the addon and it works great. I have used it multiple times with Pandora playing in the background when we have a party. People are always super impressed by it.


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

can you please create a new debug log, using the instructions in the first post?
(you did not restart kodi after enabling the logging, which is important!)


RE: [RELEASE] CU LRC Lyrics - IgorA100 - 2016-03-05

(2016-03-05, 21:05)ronie Wrote: using the instructions in the first post?
Sorry Sad
New log:
http://xbmclogs.com/pwfuwcpud#


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

ok, i think the format of your .lrc file is not valid.
every line of text should start of a new line, like this:

Code:
[00:12.8]Жан
[00:13.4]на
[00:14.0]из
[00:14.3]тех
[00:14.9]
[00:14.91]ко
[00:15.5]ро
[00:15.9]лев
[00:19.0]
[00:19.01]Что
[00:19.5]лю
[00:20.1]бят
[00:20.5]



RE: [RELEASE] CU LRC Lyrics - IgorA100 - 2016-03-05

If I write each phrase on a new line, everything works
If to write each word on a new line, so it is not very nice.

Wiki says that it is possible to write a single line:
http://kodi.wiki/view/How-to:Create_LRC_karaoke_lyrics_files#Formatting_lyrics


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

i'm afraid that method is not supported by the cu lrc addon.

only this standard will work:
https://en.wikipedia.org/wiki/LRC_%28file_format%29#Simple_format

it's the same standard as all the external lrc sites use that are supported by this addon.


RE: [RELEASE] CU LRC Lyrics - IgorA100 - 2016-03-05

(2016-03-05, 22:41)ronie Wrote: only this standard will work:
Heh.....
Enhanced format is not supported? I tried - the enhanced format does not work Sad
Code:
[mm:ss.xx] <mm:ss.xx> line 1 word 1 <mm:ss.xx> line 1 word 2 <mm:ss.xx> ... line 1 last word <mm:ss.xx>
[mm:ss.xx] <mm:ss.xx> line 2 word 1 <mm:ss.xx> line 2 word 2 <mm:ss.xx> ... line 2 last word <mm:ss.xx>
...
[mm:ss.xx] <mm:ss.xx> last line word 1 <mm:ss.xx> last line word 2 <mm:ss.xx> ...  last line last word <mm:ss.xx>
If so, then that's too bad. Is it possible to somehow fix it?

Best regards!


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

nope, not be me at least.


RE: [RELEASE] CU LRC Lyrics - Syon25 - 2016-03-05

what do you think about integrating musixmatch as scrapper? I think they have a big database but i havent found any scraper to download the *.lrc files into the musicfile folder.

and if youre not promoting my suggestion, what do you think about a way like in the musixmatch android app where you can make from normal lyrics, synchronized lyrics. But in Kodi with your addon.

I would say, many ppl listening in Kodi with your addon, if they hear a song without synchronized lyrics they use the cursor buttons to jump line for line to highlight the spoken line.
You could add a button "Synchronize now" (which is deactivatable) and then the ppl do all the same, they would do anyway. And the script just writes the timings of jumping from line to line into a *.lrc file.


RE: [RELEASE] CU LRC Lyrics - IgorA100 - 2016-03-05

(2016-03-05, 22:55)ronie Wrote: nope, not be me at least.
I am very sad Sad
This is is difficult to make?


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

(2016-03-05, 22:58)Syon25 Wrote: what do you think about integrating musixmatch as scrapper? I think they have a big database but i havent found any scraper to download the *.lrc files into the musicfile folder.
sure, they only charge $25.000 a year to use their database ;-)
https://developer.musixmatch.com/

(2016-03-05, 22:58)Syon25 Wrote: and if youre not promoting my suggestion, what do you think about a way like in the musixmatch android app where you can make from normal lyrics, synchronized lyrics.

i'm not familiar with musixmatch, so no idea how they do it.
as far as i know, it's not possible to automatically convert normal lyrics into synchronized lyrics.


RE: [RELEASE] CU LRC Lyrics - Syon25 - 2016-03-05

(2016-03-05, 23:08)ronie Wrote:
(2016-03-05, 22:58)Syon25 Wrote: what do you think about integrating musixmatch as scrapper? I think they have a big database but i havent found any scraper to download the *.lrc files into the musicfile folder.
sure, they only charge $25.000 a year to use their database ;-)
https://developer.musixmatch.com/

(2016-03-05, 22:58)Syon25 Wrote: and if youre not promoting my suggestion, what do you think about a way like in the musixmatch android app where you can make from normal lyrics, synchronized lyrics.

i'm not familiar with musixmatch, so no idea how they do it.
as far as i know, it's not possible to automatically convert normal lyrics into synchronized lyrics.

its not automatically. its with user interact.

look at the pics how its done:
--->

1. You wanna synchronize your lyrics? Press the purple button:
Image

2. Get ready to synchronize (maybe optionally in kodi):
Image

3. Wait til its get spoken:
Image

4. Press the Down-Button to highlight the first spoken line of the music:
Image

5. and so on...
Image

So it has to notice the timings when the down/up button is pressed respectively a line gets highlighted and writes it into a file. thats it (the second way with line highlightning would be nice for ppl. who scroll the lines using (android) app like Yatse or Kore or with keyboard, and not conventional by pressing the up/down button ;-).)


RE: [RELEASE] CU LRC Lyrics - ronie - 2016-03-05

i'm not sure how easy it would be to implement that in cu lrc, but i like the idea.
can't make any promises, but i'll look into it.

it's a real shame though we don't have a site where we can upload our own synced lyrics files though.