View previous topic :: View next topic |
Author |
Message |
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Tue Dec 21, 2004 1:50 am Post subject: |
|
|
Swoosh wrote: | Feature request: Scrolling titles for mini-mode |
I think it will be some ugly code to know when the title fits or not but I will think about it some more.
Swoosh wrote: | Also, when using mini-mode and making the window small the volume bar is useless. I was thinking that you could replace it with two small buttons (half size, one on top of the other), which change the percentage of volume, e.g 5% decrease or increase. |
Good idea. There wasn't any really good widget in pygtk that I could find. The best was a spinbox but it's still a tad too big. Maybe some gtk guru knows a better way?
Swoosh wrote: | i made a few icons, based on the gpl'd etiquette icon pack
i need space to host them |
Great! I'd love to take a look. Check your pm
I'll be away over the holidays so i'll be a bit slow here. Merry christmas everyone! |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
Posted: Tue Dec 21, 2004 3:47 pm Post subject: |
|
|
I've sent them to your email address. |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Mon Dec 27, 2004 4:22 pm Post subject: |
|
|
New version uploaded:
* Licensed under GPL.
* Arbitrary http streams can be added to the playlist. (Earlier only streams that were part of a playlist worked.) NOTE: The included mpdclient.py is required.
* You can now save playlists.
* More customizable gui - only chosen buttons visible. See pympcrc.sample for details.
* Stop button.
* Themeable button icons. The old stock icons are not available anymore.
* Add shuffle playlist command.
* Volume control becomes smaller spinbox if main window is narrow. |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
Posted: Wed Dec 29, 2004 9:46 pm Post subject: |
|
|
Yet Another Feature Request (sorry )
Could you make pympc remember its position and size? (aswell as the 'mode')
Another note: pympc sometimes locks up and has to be killed after being resized. I dont have any instructions on how to reproduce it yet, it seems to be quite random. The only hint towards reproducing it is to resize the player randomly and quickly.
Edit: (optional) Could you make pympc show the song title in the title bar?
Edit 2: Locking up seems to be caused by custom button gfx. |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Thu Dec 30, 2004 4:32 pm Post subject: |
|
|
Swoosh wrote: | Yet Another Feature Request (sorry )
| Don't be sorry. Without the requests I don't think I would work much on it so keep them coming.
Swoosh wrote: |
Could you make pympc remember its position and size? (aswell as the 'mode') | *Add to TODO list*
Swoosh wrote: |
Another note: pympc sometimes locks up and has to be killed after being resized. I dont have any instructions on how to reproduce it yet, it seems to be quite random. The only hint towards reproducing it is to resize the player randomly and quickly.
Edit: (optional) Could you make pympc show the song title in the title bar?
|
Is it a hard lock? And does it lock up in both normal and mini mode? The code to prevent the window's height from being changed in mini mode is broken. I get some strange behaviour sometimes when I resize in mini mode.
Swoosh wrote: | Edit 2: Locking up seems to be caused by custom button gfx. | I'm not sure I understand. Do you mean that it doesn't lock up with the default icons? |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
Posted: Thu Dec 30, 2004 6:40 pm Post subject: |
|
|
CPU usage rockets and pympc has to be killed. Occurs in both modes when resizing the player to the smallest size.
Ignore my second edit, the locking happens regardless of the icons used. |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Thu Dec 30, 2004 7:38 pm Post subject: |
|
|
Swoosh wrote: | CPU usage rockets and pympc has to be killed. Occurs in both modes when resizing the player to the smallest size.
Ignore my second edit, the locking happens regardless of the icons used. |
Hmm, I can't reproduce it here. I've resized like crazy without results
Please try the latest version, there are a few changes to the resize code.
Other changes:
* Yet more customizable gui. See pympcrc.sample.
* New theme 'swoosh', made by Swoosh. Thanks!
* Window title is the same as status string.
* You can now delete playlists.
Edit: The bandwidth for my account has been exceeded so downloads is not available atm. Does anybody know of any good (free) hosting? |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Tue Jan 04, 2005 10:39 am Post subject: |
|
|
Now pympc is hosted on sourceforge.net or, more precisely, here.
A new release is also available. Changes:* Crossfade support.
* New shortcuts. See README.
* Searching for unicode characters works correctly.
* Window size, position and mode are saved in ~/.pympc.state.
I think I found the cause for the locking up. Please check if it's still there. |
|
Back to top |
|
|
Swoosh Apprentice
Joined: 19 Sep 2004 Posts: 203
|
Posted: Thu Jan 06, 2005 9:14 pm Post subject: |
|
|
Doesn't seem to work for me, I get:
Code: | self.notebook.set_current_page(int(conf['state.tab']))
KeyError: 'state.tab' |
On startup attempt |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Thu Jan 06, 2005 9:54 pm Post subject: |
|
|
Swoosh wrote: | Doesn't seem to work for me, I get:
Code: | self.notebook.set_current_page(int(conf['state.tab']))
KeyError: 'state.tab' |
On startup attempt |
Doh, stupid one-liner. I assumed ~/.pympc.state existed. Fixed and uploaded; same filename: pympc-20050104.tar.gz. |
|
Back to top |
|
|
landon Apprentice
Joined: 09 Mar 2004 Posts: 159
|
Posted: Fri Jan 07, 2005 9:37 pm Post subject: |
|
|
Good news, as always. |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Wed Jan 12, 2005 3:22 pm Post subject: |
|
|
outspoken wrote: | one of my big wishlist items in any gui player is cover art to be displayed for the music that im listening to. so far the programs that support this are xmms and a few other ones that i dont like using. is it possible to squeeze this into your program? =) |
The latest release can display cover art.
Linky
Are there any common naming conventions for front and back covers? Now it just searches for 'front' and 'back' in the filname.
Last edited by oggy on Sat Jan 22, 2005 9:02 pm; edited 1 time in total |
|
Back to top |
|
|
syscrash Guru
Joined: 14 Apr 2003 Posts: 541
|
Posted: Sat Jan 22, 2005 8:41 pm Post subject: |
|
|
Very cool! Nice work _________________ Play ET? Come by #gentoo.et on freenode!
http://syscrash.ca |
|
Back to top |
|
|
jack_mort Apprentice
Joined: 30 Jan 2003 Posts: 167
|
Posted: Sun Jan 23, 2005 9:52 am Post subject: |
|
|
This "little" proggie is getting better and better : thanks for the work oggy |
|
Back to top |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Sun Jan 23, 2005 3:13 pm Post subject: |
|
|
Nicely done man. This is a very slick and simple client for on my laptop. Only thing is the slidebar, it can stretch out so far that the feeling is completely gone. You might want to restrict that?
Anyway, thanks a bunch! _________________ Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak. -Unknown |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Sun Jan 23, 2005 4:44 pm Post subject: |
|
|
Glad you like it.
ahbuist wrote: | Only thing is the slidebar, it can stretch out so far that the feeling is completely gone. You might want to restrict that?
|
Maybe the volume bar needs a restriction but I'm not so sure about the seek bar. Sometimes you can have long concerts or audiobooks in one file. If so I wouldn't want to give up the presicion of a long seek bar. But you have a point though... |
|
Back to top |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Sun Jan 23, 2005 4:53 pm Post subject: |
|
|
Ah you are probably right about the bar. I forgot about my mix/concert-files
Ah well, there can't be enough variation in mpd frontends! _________________ Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak. -Unknown |
|
Back to top |
|
|
stahlsau Guru
Joined: 09 Jan 2004 Posts: 584 Location: WildWestwoods
|
Posted: Mon Feb 07, 2005 8:32 am Post subject: |
|
|
hell, that´s exactly what i was looking for. Nice work!
Normally i control mpd through multimedia-buttons=>lineakd=>mpc, but sometimes i want to select and hear a specific song or album, and therefore from now on i´ll use your gui. Thanks! |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Tue Mar 08, 2005 12:21 am Post subject: |
|
|
Just heard about your nice little program in a Desktop thread. Downloaded it, but:
Code: | Traceback (most recent call last):
File "/usr/bin/pympc", line 29, in ?
app = pympc.Pympc()
AttributeError: 'module' object has no attribute 'Pympc' |
*shrug* |
|
Back to top |
|
|
~L~ Apprentice
Joined: 15 Feb 2004 Posts: 154 Location: Finland
|
Posted: Wed Mar 09, 2005 9:03 am Post subject: |
|
|
Excellent app!
If I could change the mpd output from spdif to speakers and vice versa on the fly, I could get rid of xmms.
IMHO best mpd client I've tried so far. |
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Wed Mar 09, 2005 11:05 am Post subject: |
|
|
madbiker wrote: | Just heard about your nice little program in a Desktop thread. Downloaded it, but:
Code: | Traceback (most recent call last):
File "/usr/bin/pympc", line 29, in ?
app = pympc.Pympc()
AttributeError: 'module' object has no attribute 'Pympc' |
*shrug* |
Hmm, it doesn't seem to be installed correctly. You can either just extract the tar.gz in a dir an run pympc from there without installing it, or you can install it with Code: | python setup.py install | and execute /usr/bin/pympc.
It seeems as if you did the install but the modules can't be found. Check if the installation placed files in Code: | /usr/lib/python2.3/site-packages/pympc | . |
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Wed Mar 09, 2005 5:01 pm Post subject: |
|
|
Code: | $ ls /usr/lib/python2.3/site-packages/pympc
total 248K
-rw-r--r-- 1 root root 5 Feb 24 16:16 __init__.py
-rw-r--r-- 1 root root 130 Mar 7 12:31 __init__.pyc
-rw-r--r-- 1 root root 34K Feb 27 13:27 gui.py
-rw-r--r-- 1 root root 50K Mar 7 12:31 gui.pyc
-rw-r--r-- 1 root root 35K Jan 6 13:59 mpdclient.py
-rw-r--r-- 1 root root 56K Mar 7 12:31 mpdclient.pyc
-rw-r--r-- 1 root root 24K Feb 27 03:10 pympc.py
-rw-r--r-- 1 root root 33K Mar 7 12:31 pympc.pyc
|
|
|
Back to top |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Wed Mar 09, 2005 5:08 pm Post subject: |
|
|
I tried downloading the latest tarball from sourceforge, untaring it, then cding to the directory and just trying ./pympc. Got this:
Code: | $ ./pympc
Traceback (most recent call last):
File "./pympc", line 29, in ?
app = pympc.Pympc()
File "/home/glib/downloads/pympc-20050227/pympc.py", line 45, in __init__
gui.apply_state_file(self.conf)
File "/home/glib/downloads/pympc-20050227/gui.py", line 620, in apply_state_file
self.app.pl.center()
File "/home/glib/downloads/pympc-20050227/pympc.py", line 326, in center
if self.app.state in ('pause', 'play'):
AttributeError: Pympc instance has no attribute 'state' |
|
|
Back to top |
|
|
oggy n00b
Joined: 28 Oct 2004 Posts: 40
|
Posted: Wed Mar 09, 2005 5:55 pm Post subject: |
|
|
madbiker wrote: | I tried downloading the latest tarball from sourceforge, untaring it, then cding to the directory and just trying ./pympc. Got this:
Code: | $ ./pympc
Traceback (most recent call last):
File "./pympc", line 29, in ?
app = pympc.Pympc()
File "/home/glib/downloads/pympc-20050227/pympc.py", line 45, in __init__
gui.apply_state_file(self.conf)
File "/home/glib/downloads/pympc-20050227/gui.py", line 620, in apply_state_file
self.app.pl.center()
File "/home/glib/downloads/pympc-20050227/pympc.py", line 326, in center
if self.app.state in ('pause', 'play'):
AttributeError: Pympc instance has no attribute 'state' |
|
OK thats a better error message . It can't connect to mpd at all.
If I start pympc without mpd running I get the same error. If you don't have mpd running at localhost port 6600 you must specify those in the environment variables MPD_HOST and MPD_PORT. If you have a password use MPD_HOST=pass@host.
edit:
The cvs version shouldn't crash when it can't find mpd but start and show 'not connected' in the statusbar. |
|
Back to top |
|
|
|