Notices


Reply
Thread Tools
Posts: 63 | Thanked: 43 times | Joined on May 2008
#1
Hello!

I *think* we have something stable enough to make a 0.3 release. There's have a .deb available here.

The GUI certainly hasn't changed much, so what's new?
  • Bookmarks are stored in an SQLite database
  • Playlists (m3u,pls) are fully supported (importing and exporting)
  • Playlists can be modified on the fly:
    Tracks can be added or removed
    Tracks can be reordered (via drag and drop)
  • Bookmarks are now listed under the track name (using a treeview)
  • The code is much more modular and tries to respect a MVC architecture
  • Many more d-bus methods are now exposed through dbusinterface.py
  • Logging is much fancier thanks to python's logging module
Since you're not installing from Maemo Extras you'll need to manually install the dependencies, which are:
Code:
python2.5-gtk2 python2.5-gstreamer python2.5-dbus python2.5-hildon python2.5-gnome python2.5-mutagen
Enjoy,

nick

Last edited by nikosapi; 2009-03-03 at 04:27.
 

The Following User Says Thank You to nikosapi For This Useful Post:
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#2
I'm on it!
 
Posts: 223 | Thanked: 67 times | Joined on Jun 2006
#3
I installed 0.3 after cleaning off previous versions (including ~/.panucci.sqlite) and got this Error:

Code:
~ $ panucci
Traceback (most recent call last):
  File "/usr/bin/panucci", line 65, in <module>
    opts.queue_filename or opts.open_filename ))
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 924, in run
    GTK_Main( filename )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 373, in __init__
    player.init(filepath=filename)
  File "/usr/lib/python2.5/site-packages/panucci/player.py", line 59, in init
    self.playlist.load_last_played()
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 352, in load_last_played
    self.load(recent[0])
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 345, in load
    self.send_new_metadata( caller=self.load )
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 123, in send_new_metadata
    caller=caller or self.send_new_metadata )
  File "/usr/lib/python2.5/site-packages/panucci/services.py", line 76, in notify
    observer( *args )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 791, in on_player_new_track
    estimated_length = metadata['length']
KeyError: 'length'
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#4
installing over existing panucci produced no error from app manager, but launching gave me this:

Code:
Traceback (most recent call last):
  File "/usr/bin/panucci", line 65, in <module>
    opts.queue_filename or opts.open_filename ))
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 924, in run
    GTK_Main( filename )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 352, in __init__
    self.pickle_file_conversion()
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 916, in pickle_file_conversion
    if pickle_converter.load_pickle_file(pickle_file):
  File "/usr/lib/python2.5/site-packages/panucci/pickle_converter .py", line 55, in load_pickle_file
    playlist_id = db.get_playlist_id( f, create_new=True )
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 282, in get_playlist_id
    if self.playlist_exists(filepath):
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 273, in playlist_exists
    filepath ) is not None
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 363, in __get__
    cursor.execute(sql)
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied.
 
Posts: 63 | Thanked: 43 times | Joined on May 2008
#5
Originally Posted by gowen View Post
I installed 0.3 after cleaning off previous versions (including ~/.panucci.sqlite) and got this Error:

Code:
~ $ panucci
Traceback (most recent call last):
  File "/usr/bin/panucci", line 65, in <module>
    opts.queue_filename or opts.open_filename ))
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 924, in run
    GTK_Main( filename )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 373, in __init__
    player.init(filepath=filename)
  File "/usr/lib/python2.5/site-packages/panucci/player.py", line 59, in init
    self.playlist.load_last_played()
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 352, in load_last_played
    self.load(recent[0])
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 345, in load
    self.send_new_metadata( caller=self.load )
  File "/usr/lib/python2.5/site-packages/panucci/playlist.py", line 123, in send_new_metadata
    caller=caller or self.send_new_metadata )
  File "/usr/lib/python2.5/site-packages/panucci/services.py", line 76, in notify
    observer( *args )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", line 791, in on_player_new_track
    estimated_length = metadata['length']
KeyError: 'length'
I updated the link in the original post, please try 0.3-1.

Thank you very much for the report.
 
Posts: 63 | Thanked: 43 times | Joined on May 2008
#6
Originally Posted by tso View Post
installing over existing panucci produced no error from app manager, but launching gave me this:

Code:
Traceback (most recent call last):
  File "/usr/bin/panucci", line 65, in <module>
    opts.queue_filename or opts.open_filename ))
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 924, in run
    GTK_Main( filename )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 352, in __init__
    self.pickle_file_conversion()
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 916, in pickle_file_conversion
    if pickle_converter.load_pickle_file(pickle_file):
  File "/usr/lib/python2.5/site-packages/panucci/pickle_converter .py", line 55, in load_pickle_file
    playlist_id = db.get_playlist_id( f, create_new=True )
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 282, in get_playlist_id
    if self.playlist_exists(filepath):
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 273, in playlist_exists
    filepath ) is not None
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 363, in __get__
    cursor.execute(sql)
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied.
Thank you for testing, sorry for the inconvenience.

Can you please post your ~/.rmp-bookmarks (or ~/.rmp-bookmarks.bak)?
If you tar/zip the file I think you can even attach it to the post.

Thanks again,

nick
 
Posts: 63 | Thanked: 43 times | Joined on May 2008
#7
Originally Posted by tso View Post
installing over existing panucci produced no error from app manager, but launching gave me this:

Code:
Traceback (most recent call last):
  File "/usr/bin/panucci", line 65, in <module>
    opts.queue_filename or opts.open_filename ))
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 924, in run
    GTK_Main( filename )
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 352, in __init__
    self.pickle_file_conversion()
  File "/usr/lib/python2.5/site-packages/panucci/panucci.py", lin e 916, in pickle_file_conversion
    if pickle_converter.load_pickle_file(pickle_file):
  File "/usr/lib/python2.5/site-packages/panucci/pickle_converter .py", line 55, in load_pickle_file
    playlist_id = db.get_playlist_id( f, create_new=True )
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 282, in get_playlist_id
    if self.playlist_exists(filepath):
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 273, in playlist_exists
    filepath ) is not None
  File "/usr/lib/python2.5/site-packages/panucci/dbsqlite.py", li ne 363, in __get__
    cursor.execute(sql)
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied.
I think I figured out what caused this, please try 0.3-2 (I updated the link in the original post).

If that doesn't fix it, then please post your ~/.rmp-bookmarks file.

Sorry for the confusion,

nick
 

The Following 2 Users Say Thank You to nikosapi For This Useful Post:
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#8
that fixed it, panucci started fine now
 
Posts: 223 | Thanked: 67 times | Joined on Jun 2006
#9
0.3-2 is working for me. Being able to open a playlist may just make this my default player.
 
Posts: 63 | Thanked: 43 times | Joined on May 2008
#10
Here's 0.3-3 (as usual, the link has been updated in the original post)

This one removes the --file (or -f) command line option. The functionality is still the same just use "panucci /some/good/podcast.mp3" instead of "panucci ---file /some/good/podcast.mp3". Also, if you start panucci this way, it'll automatically start playing the file instead of you having to push the play button.

Thanks to Thomas for the suggestion.

nick
 
Reply

Tags
panucci, testing

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:12.