maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only) (https://talk.maemo.org/showthread.php?t=72321)

GreatGonzo 2011-04-19 12:14

[Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
2 Attachment(s)
This is a desktop widget to use with quick-widgets and someplayer. I am currently writing a python wrapper around the mediaplayer dbus signal and will adjust this widget to handle the internal mediaplayer as well.

Features
It will display lyrics and album art from chartlyrics.com (thanks MAG for the suggestion).
It is heavily using qml effects so don't blame me if your battery gets abused :D ( It does suspend all animation if off-screen).

As always feel free to modify tune it.

Installation:

download and unzip the package

Then either go to the directory in a terminal and start it with
Code:

quick-widgets quicklyrics.qml
or use the quick-widget GUI selector.

Alfred 2011-04-19 12:33

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
sounds pretty cool

EDIT:
works like a chram, although which lines should change in order to get it to roll a bit slower?

GreatGonzo 2011-04-19 13:19

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
you need to change scrollDuration

dan1one 2011-04-19 13:58

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Looks great.

Great to see developments like this; after TuneWiki decided it was too good for Maemo.

Keep it up. I am waiting for the standard media Player compatible version.

thanks.

blipnl 2011-04-19 14:35

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Great work! This will make me forget about tunewiki altogether :D

Will this be further developed into an repository app, addable to homescreen, with an UI for editing settings in homescreeen-edit mode? Ty in advance

GreatGonzo 2011-04-20 00:14

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
I will most likely remove the settings button from quick-widgets alltogether. They should be implemented in the widget itself. If a widget becomes popular enough I might make a debian. I will provide an 'Add Widget' entry.

babyshamie 2011-04-20 03:19

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
why are there 3 files

StefanoEH 2011-04-20 03:41

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by GreatGonzo (Post 991787)
you need to change scrollDuration

sorry for a stupid question, but,
How to change that??

:P

GreatGonzo 2011-04-20 04:33

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by babyshamie (Post 992219)
why are there 3 files

To modularise code?!

GreatGonzo 2011-04-20 04:36

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by StefanoEH (Post 992227)
sorry for a stupid question, but,
How to change that??

:P

Open the file in a text editor and changed the number.
Close the existing widget and reload it. Or don't close the widget and reboot.

Note that the scroll duration also depends on the length of the lyrics. So it is not constant. I am looking into changing this.

couldvbb 2011-04-20 15:03

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
LRC format may be used to synchronize
For example,

Britney Spears-Me Against The Music.lrc
[00:00.78]All my people in the crowd
[00:02.98]Grab a partner take it down!
[00:05.06]It's me against the music
[00:06.28](Uh uh)
[00:06.97]It's just me
[00:07.59](And me)
[00:08.61]Yeah
[00:09.98](C'mon, Hey Britney?)
[00:15.22]Are you ready?

GreatGonzo 2011-04-20 21:40

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Where do you get lyrics in that format?

laasonen 2011-04-20 22:02

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by GreatGonzo (Post 992838)
Where do you get lyrics in that format?

Or you could get them in xml format from tunewiki:
Code:

http://lyrics.tunewiki.com/tunewiki/services/getLyric.php?apiPass=[PASS]&apiKey=[KEY]&user=&device=[DEVICE]&lang=&artist=[ARTIST]&title=[TITLE]&album=[ALBUM]&vidSrc=[VIDEO SOURCE]
I don't know how much would they like it :D

Shinigamijim 2011-04-21 00:50

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Hey this is good. Make it to the reppo plz

dazars1 2011-04-21 02:01

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Thanks GreatGonzo is a good widget, I like it, goes very well with somewidget, I hope the next release of these widgtes

Greetings.

babyshamie 2011-04-21 02:46

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
i tried as mentioned,but i get a red thing with some errors written on it(unable to create type scrollbox,invalid allias),something am doing wrong?thx

couldvbb 2011-04-21 03:12

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by GreatGonzo (Post 992838)
Where do you get lyrics in that format?

https://gpx6ga.bay.livefilestore.com...7vA/f200-5.JPG
http://www.jayceooi.com/wp-content/u...TPlayer_01.jpg

I use foobar2000 on windows and KMPlayer are synchronized with the TTPlayer LRC lyrics plugin
linux http://bbs.chinaunix.net/thread-1923770-1-1.html
It can search online or to download. lrc file playback
Can be used to sing

http://zh.wikipedia.org/zh-tw/LRC
Have introduced server database LRC lyrics
LYRDB LRC Karaoke Database
lrcDB Lyrics Database
LRC Lyrics Database
LRC Lyrics Center
LYRDB, An extensive lyrics database
Portal LRC, a Brazilian lyrics web site with over 3000 LRC's
Lyricsfly API, database of lyrics with REST XML API access
Tutorial - Creating lyrics using LRC Editor
Lrceditor-Amarok, a GNU / Linux lrc editor against amarok

Chinese LRC Lyrics Search
http://lrc.aspxp.net/
http://www.cnlyric.com/html_zmsy/N.html
I think that is the same way TUNE WIKI synchronized lyrics

dazars1 2011-04-21 03:23

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
For now, it would be better able to move the text with a finger

GreatGonzo 2011-04-21 04:17

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by dazars1 (Post 992975)
For now, it would be better able to move the text with a finger

That option will probably come in the next version

GreatGonzo 2011-04-21 04:19

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
I don't think I will support LRC, as at least for someplayer there isn't any dbus call for the song position. This will also require very frequent updates so it will most definitely kill the battery.

couldvbb 2011-04-21 04:44

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
He is also a scroll mode, set the time for the highlight of the line lyrics

And video use. str subtitles also

GreatGonzo 2011-04-21 04:57

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by couldvbb (Post 993000)
He is also a scroll mode, set the time for the highlight of the line lyrics

Sorry but I don't understand this. Try to rephrase it.

couldvbb 2011-04-21 05:24

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
To [00:02.98] All my people in the crowd as an example
Play a song 02 minutes .98 seconds to the time for Grab a partner take it down! and fonts to increase the volume in the middle
---------------------------------------------
All my people in the crowd
Grab a partner take it down!
It's me against the music
--------------------------------------------
I have an idea, the reference

Inacurate 2011-04-22 00:42

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
As soon as this hits a rep, I'm all in! I been waiting to hear about another lyric application since TW just up and left us all with no words to sing!

Great work. People like you, I hope are highly appreciated and I hope you enjoy what you're doing. :)

impeham 2011-05-07 08:55

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
It always says no lyrics found for me.

I don't have somewidget installed - should it be?

It recognizes the playing song ok (the name is ok on the side of the widget)

GreatGonzo 2011-05-07 09:10

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
You don't need somewidget just someplayer. It can be a little hit and miss on mobile internet connections. I will have to make some improvements to the connection handling.
You might want to try and restart.
You can debug the widget (a little) as follows:

in a terminal type:
Code:

quick-widgets in-background
and look at the output...
It should also print out the URL for the song lyrics. You might want to check this in a browser to see if there are really no lyrics available.

bingbings 2011-05-07 10:17

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
1 Attachment(s)
Having the some problem as someone posted before: unable to create type scrollbox file , with an invalid alias reference...thx...

GreatGonzo 2011-05-07 10:56

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Could you tell me what version of Qt you are running? Are you running the CSSU?

GreatGonzo 2011-05-07 11:13

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
The chartlyrics website - the source for the lyrics- has problems at the moment.

GreatGonzo 2011-05-07 11:14

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Does anyone know what source amarok uses?

bingbings 2011-05-07 11:34

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Not yet installed the CSSU and havng installed quick widgets 0.3.3 and qtquick version 1.0 (that mean I guess Qt 4.7.1 ).

impeham 2011-05-08 06:27

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by GreatGonzo (Post 1001566)
You don't need somewidget just someplayer. It can be a little hit and miss on mobile internet connections. I will have to make some improvements to the connection handling.
You might want to try and restart.
You can debug the widget (a little) as follows:

in a terminal type:
Code:

quick-widgets in-background
and look at the output...
It should also print out the URL for the song lyrics. You might want to check this in a browser to see if there are really no lyrics available.

I executed it and started a song in some player - the only repeating output in xterm is this:

"dbus-send --type=method_call --print-reply --dest=ru.somebody.someplayer / ru.somebody.someplayer.title_artist_album"
started
failed

Shinigamijim 2011-06-13 04:45

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
when is the python version going to be ready?

Shinigamijim 2011-07-04 03:06

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Quote:

Originally Posted by bingbings (Post 1001604)
Having the some problem as someone posted before: unable to create type scrollbox file , with an invalid alias reference...thx...

i have this problem too, i also have cssu installed.

razefox2 2013-06-26 19:05

Re: [Announce] quicklyrics-0.1: A quick-widget for lyric display (for now someplayer only)
 
Can't install it with application manager, getting the following error:
Conflict with application packages: libqtm-12 (1:1.20+git20111104-0nd~fremantle5)

Can anyone help?


All times are GMT. The time now is 21:13.

vBulletin® Version 3.8.8