You are not logged in.

#26 2012-07-28 19:18:51

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

@nierro: Done.

Last edited by OK100 (2012-07-28 19:20:18)

Offline

#27 2012-07-29 00:56:51

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Lyvi - command-line lyrics (and more!) viewer

OK100 wrote:
Rasi wrote:

Does not work with mpd, when mpd is on a remote machine.

You can now set mpd_host and mpd_port in the configuration file (~/.config/lyvi/rc):

mpd_host = localhost
mpd_port = 6600

Thanks, works perfectly


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#28 2012-07-29 07:48:24

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Lyvi - command-line lyrics (and more!) viewer

Thank you very much!

Offline

#29 2012-07-29 17:43:05

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hya

looks really really neat, 2 short questions.

1.can there be an option to save found lyrics localy in the current playing song folder? (as a .lyric text file)
2.can i request support for gmb (http://gmusicbrowser.org/)

best

zeltak

Offline

#30 2012-07-30 12:37:46

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

zeltak wrote:

1.can there be an option to save found lyrics localy in the current playing song folder? (as a .lyric text file)

In config file:

save_lyrics = True

(currently works only for gmb)

zeltak wrote:

2.can i request support for gmb (http://gmusicbrowser.org/)

Done

Last edited by OK100 (2012-07-30 16:20:47)

Offline

#31 2012-07-31 12:49:19

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

Hi again and thanks for the quick replies smile

i have tried getting it to work with gmusicbrowser (gmb) with no sucess following your guide on the webpage. did you use the latest gmb git version when testing (the "stable" version is quite old). ? plese let me know if you need me to test stuff to get it working

another idea i always had for apps like ncpcpp but seems like would be pretty hard to implement would be to make use of terminals that allow transparent backgroud/image backgrounds to make put a nice eye candy touch to the lyrics window. That is change the terminal background to the album/artist jpeg/png in the current folder which each passing track. here is an example from ncmpcpp on a static background:

http://paste.xinu.at/fWrgs/


thanks alot for this great app

zeltak

Offline

#32 2012-07-31 15:59:51

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

Hi, the git version fails to build for me, but I just tested it with -devel version from AUR (1.1.9) and it still works fine. Please post output of

cat ~/.config/gmusicbrowser/nowplaying

when gmusicbrowser is playing.

As for the background images, that would be really cool and I'll look into it.

Last edited by OK100 (2012-07-31 16:01:04)

Offline

#33 2012-07-31 17:44:15

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hi again

yeah the git version today isnt buliding..wierd dont think quntin changed anything last few days.

here is the output:

`--> cat ~/.config/gmusicbrowser/nowplaying
Bonnie Prince Billy and Matt Sweeney\What Are You?\/home/zeltak/Zmusic/B/Bonnie prine billy and Matt Sweeny/Superwolf/03 - What Are You_.flac
.-(/)----------------------------------------------------------------------------------------------------------------------------------------------------------------(zeltak@zx200)-
`-->

let me know if any other info is needed

btw super excited you like the background idea smile

best

Zeltak

Offline

#34 2012-07-31 18:05:36

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

That's strange. You have correct nowplaying file so it should work. What error do you get when you run lyvi?

Offline

#35 2012-07-31 20:50:01

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hmm no error i just dont get anything playing:

http://paste.xinu.at/GhUo9d/

zeltak

Offline

#36 2012-08-01 07:30:53

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

Can I have output of "ps aux" please?

Offline

#37 2012-08-01 11:08:20

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

here it is:

http://paste.xinu.at/SC5/

thx

Z.

Offline

#38 2012-08-01 12:57:40

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

Please try again with latest commit.

Offline

#39 2012-08-01 17:48:26

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hi again

latest commint wont start:

`--> lyvi
Traceback (most recent call last):
  File "/usr/bin/lyvi", line 771, in <module>
    p = players[player]()
TypeError: __init__() takes exactly 3 arguments (1 given)


best

Z

Offline

#40 2012-08-01 18:05:55

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

Hi, the issue is that you have mpd daemon running as well. I don't have time to fix it right now, but it should work if you stop mpd before launching lyvi.

EDIT: Done. I hope it will work this time smile

Last edited by OK100 (2012-08-01 19:23:39)

Offline

#41 2012-08-01 20:10:19

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

yay works like a charm now smile

ill wait patienlty to hear news about the background stuff smile

thx again!

z

Offline

#42 2012-08-07 18:56:51

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

Hi, I just pushed some background code. You can add these options to config file:

bg = True
bg_opacity = 85

Imagemagick is needed for opacity and it will probably work only with urxvt.
There are still a few issues: image resolution is too small and it will not keep aspect ratio.

Here's a screenshot:
tZjE4eQ

If you know some other terminals that can change background image on the fly, just let me know and I'll add support for it.

Last edited by OK100 (2012-08-08 18:23:10)

Offline

#43 2012-08-10 00:49:07

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hya

This is amazing! it looks great . where are the images read from, it seems its not using local images. can we get lyvi to use the local files under the current folder or better yet under a specific path (IE my artist images are in a folder structred like this /Music/A/Audioslave/audioslave.jpeg

i dont know of any terminals that can do it on the fly other then urxvt but will check out a bunch for you.

thx again this is amazing

Z

Offline

#44 2012-08-10 00:58:20

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Lyvi - command-line lyrics (and more!) viewer

hehe, thats actually a neat feature. Seems to only work in urxvt tho it seems.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#45 2012-08-10 16:43:04

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

@zeltak: You can now set bg_path in the rc file:

bg_path = /home/johndoe/Music/<artistinitial>/<artist>

If this option is not set, images are get from htbackdrops

Offline

#46 2012-08-10 18:30:48

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

thx!

lyvi looks so amazing  smile

incredible work!

thanks alot again, if you want i can come up with more ideas to imporve lyvi but if you consider it feature complete i can live with that as well smile

best wishes


Z.

Offline

#47 2012-08-10 20:35:25

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

You're welcome smile
Of course if you would like some other features just let me know.

Offline

#48 2012-09-28 00:21:46

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

hi again

how are you?

ive recently started playing with mpd and naturally i fired up lyvi (best little app ever!....).

i get this error:

Traceback (most recent call last):
  File "/usr/bin/lyvi", line 965, in <module>
    curses.wrapper(main)
  File "/usr/lib/python3.2/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/bin/lyvi", line 872, in main
    p.status()
  File "/usr/bin/lyvi", line 268, in status
    f = open(HOME + '/.mpdconf')
IOError: [Errno 2] No such file or directory: '/home/zeltak/.mpdcon

any idea why? my .mpdconf is under /etc

thx alot again

P.S as i warned a few weeks ago some more suggestions (well ok requests ;-)) are coming your way in the next few days ;-)

best

Zeltak

Last edited by zeltak (2012-09-28 00:26:19)

Offline

#49 2012-09-28 16:26:26

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Lyvi - command-line lyrics (and more!) viewer

zeltak wrote:

hi again

how are you?

Not bad tongue

zeltak wrote:

ive recently started playing with mpd and naturally i fired up lyvi (best little app ever!....).

i get this error:

Traceback (most recent call last):
  File "/usr/bin/lyvi", line 965, in <module>
    curses.wrapper(main)
  File "/usr/lib/python3.2/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/bin/lyvi", line 872, in main
    p.status()
  File "/usr/bin/lyvi", line 268, in status
    f = open(HOME + '/.mpdconf')
IOError: [Errno 2] No such file or directory: '/home/zeltak/.mpdcon

any idea why? my .mpdconf is under /etc

You can now set path to mpd config file with mpd_config_file option, e.g:

mpd_config_file = /etc/mpdconf

(default is $HOME/.mpdconf)

Offline

#50 2012-09-28 18:23:27

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Lyvi - command-line lyrics (and more!) viewer

Hi again

Thx that solved the issue!

i have some more issues though

1.it seems like lyvi stopped looking first at the local images stored and goes and grabs the images from the internet first. here is my current config:

save_lyrics=True
bg = True
bg_opacity = 85
bg_path = /home/zeltak/Zmusic/<artistinitial>/<artist>
mpd_host = localhost
mpd_port = 6600
mpd_config_file = /etc/mpd.conf

the aritst file are always like this:

/home/zeltak/Zmusic/N/Neil Young/Neil Young.jpg

2. the lyrics are saved by file name.lyric and not tag name.lyric can there be an option to change that?

ok so some suggestions (please feel free to ignore them if you feel they are stupid smile)

1.auto advance lyrics- can we have the lyrics auto scroll? ideally this would be done using some basic calculation based on song length etc. but just a stupid scroll option by a constant rate would work great

2. consider an option in config to show album cover instead of artist image? maybe also an option to toggle between them or auto switch every X seconds.

3.related to above maybe ability to launch lyvi with a alternate config so we could have 2 lyvi windows tiled one with a album view (with lyrics) and one with artist view (with artist image and artist info)

thx again,  if the new ideas dont irritate you let me know as i have some more ;-)

best

Z

Last edited by zeltak (2012-09-28 18:24:05)

Offline

Board footer

Powered by FluxBB