Active Topics

 



Notices


Reply
Thread Tools
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#401
Originally Posted by xerxes2 View Post
But as I understand it this seems to be a feature and not a bug. Just to clearify one more time. If panucci is not running and I chose to play a file in gpodder it deletes the old playlist and plays the new file. If panucci is already running and I chose to play a file in gpodder it appends the file to the playlist and continues to play the current file. But I have no account on gpodder.net and am probably not using the sync stuff thp talked about.
It doesn't clear the playlist when panucci was not running, it doesn't clear the playlist itself... never. (and I don't know if I would like this exception - perhaps keep the playlist and ongoing adding and prompt playing of the newest track could be a better solution)

And that it only adds a file to the playlist doesn't feel right at the device in daily usage.

At the moment the playback stops and the current audiofile resums playing from the beginnung if a file is added to the playlist.

It's confusing. And the whole behavior depends on the play/pause state, too.

And to clarify: (and apology to thp) I hear podcasts exclusively on my N900. Because of that I don't have a gpodder onlineaccout, too. I would say I don't need it at the moment.
 

The Following User Says Thank You to Helmuth For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#402
Originally Posted by xerxes2 View Post
Fixed a settings dialog to n900. https://github.com/xerxes2/panucci/c...d27c555fd39f12

This will need some additional coding to make it prettier but it should work properly already.
Sorry, I'm actually in the normal crazy weekend stress. I'll report how it works and looks (including screenshots) as soon as I got enought time to get the git code running directly on the device.

I hope on sunday after the big family meal...
 

The Following User Says Thank You to Helmuth For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#403
No problem man. But it's good if you try out the git code because I just made some pretty huge changes. All gtk code is now in its own directory, just preparing for supporting more graphical toolkits. I can promise though that as long as I maintain panucci gtk and gstreamer will always be supported. Everything else will be additional stuff.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#404
Originally Posted by xerxes2 View Post
No problem man. But it's good if you try out the git code because I just made some pretty huge changes. All gtk code is now in its own directory, just preparing for supporting more graphical toolkits. I can promise though that as long as I maintain panucci gtk and gstreamer will always be supported. Everything else will be additional stuff.
Hi xerxes2,

So. I've copied the git code from today to my N900. Here is my report:
  • I have to run Panucci using the terminal python /usr/bin/panucci as soon as I overwrote the code on the device - so, perhaps, I'm doing something wrong and it will work with a proper package, at the moment it doesn't startup using the icon
  • There are small Squares in the bottom right corner of the lower buttons (except the play/pause button) at the main menu
  • The first three Buttons (open file, open folder, save playlist) from the menu are not working - they worked before I sent you the code
  • settings is ugly but seems to work Sadly the settings are taken but not stored, is this this time a feature or not ready yet? Perhaps it is stored but not loaded at the startup? Hmm...

Here you have some screenshots to see how it looks at the moment:
Attached Images
    
 

The Following 2 Users Say Thank You to Helmuth For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#405
The settings are not stored so you must edit panucci.conf manually if you want to make them permanent. Set your defaults once should be ok. And could you give me some hints on how to fix the settings window? Or do it yourself.

And about your problem to start panucci. Could you paste your /usr/share/applications/panucci.desktop . I don't know exactly how panucci is installed on n900 but look in /opt/panucci for clues. Maybe the panucci file should be there instead of /usr/bin? Maybe /usr/bin/panucci should just be a symlink to /opt/panucci/bin/panucci ? But yeah, gotta make the settings dialog a tad prettier, nice that it works though.

Edit: The settings dialog code starts on line 431 here: https://github.com/xerxes2/panucci/b...kui/gtkmain.py
As you see i've just dumped everything in it and have not a clue whatsoever what it looks like on n900.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).

Last edited by xerxes2; 2011-03-13 at 19:37.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#406
Originally Posted by xerxes2 View Post
And about your problem to start panucci. Could you paste your /usr/share/applications/panucci.desktop .
Here you have:

Code:
[Desktop Entry]
Name=Panucci
GenericName=Resuming audiobook and podcast player
Comment=Resume audiobooks or podcasts from last point, or set bookmarks
Exec=panucci
Icon=panucci
Terminal=false
Type=Application
Categories=Audio;GTK;

Originally Posted by xerxes2 View Post
I don't know exactly how panucci is installed on n900 but look in /opt/panucci for clues. Maybe the panucci file should be there instead of /usr/bin?
The most files are in /opt/panucci/lib/panucci

Originally Posted by xerxes2 View Post
Maybe /usr/bin/panucci should just be a symlink to /opt/panucci/bin/panucci ?
Hm, perhaps it was a symlink to somewhere else.
I looked into the file and I saw python code. So I replaced it by the file in the bin folder at git.
But perhaps it was a symlink to the file somewhere else.

It's something I haven't understood so far. /usr/bin/panucci is definitely not a binary. But normaly I'm able to execute it simply by typing panucci.

Originally Posted by xerxes2 View Post
Edit: The settings dialog code starts on line 431 here: https://github.com/xerxes2/panucci/b...kui/gtkmain.py
As you see i've just dumped everything in it and have not a clue whatsoever what it looks like on n900.
Yes, it looks exaktly like that!
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#407
Hmm, so where did you put the panucci file? Dammit what an annoying problem. From what I can see it should work if the file is put in /usr/bin so dunno why it doesn't.

Edit: Ok I looked in the package now and panucci should be put in /usr/bin and the rest in /opt/panucci/ . Maybe the file isn't executable. Just run as root "chmod 755 /usr/bin/panucci" .
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).

Last edited by xerxes2; 2011-03-13 at 20:25.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#408
I've checked this already. It was and is executable. But this doesn't matter. A python file is not a binary. And you need always python to start the file: python /usr/bin/panucci

Hmm... I will remove now the git code and install panucci again from the repos. Perhaps I could see a symlink or something like that.

Edit: No symlink as far as I can see. Perhaps something new for me I can't understand so far... (the N900 is my first Linux Device )

Last edited by Helmuth; 2011-03-13 at 20:49.
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#409
Nope, if the file is executable it does not need python before sto start. Try to run "panucci" and see for yourself.
__________________
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#410
Originally Posted by xerxes2 View Post
Nope, if the file is executable it does not need python before sto start. Try to run "panucci" and see for yourself.
Hmm... okay. This is a new fact for me.
But perhaps you're right. This works:

Code:
cd /usr/bin/ 
./panucci
Edit:
Okay, as soon as I copy the panucci file from the git bin folder to /usr/bin/ I got this:
Code:
cd /usr/bin/ 
./panucci
: No such file or directory
I have to add, the file from git is 2222 bytes big and the original file (version 0.99 from the repos) is 4452 bytes big.

Last edited by Helmuth; 2011-03-13 at 20:59.
 
Reply

Tags
barbiestrsand


 
Forum Jump


All times are GMT. The time now is 10:07.