maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Panucci Podcast and Audiobook Player (https://talk.maemo.org/showthread.php?t=25584)

Helmuth 2011-03-11 20:16

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965897)
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. :rolleyes:

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. :)

Helmuth 2011-03-12 15:22

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965934)
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... :)

xerxes2 2011-03-12 19:36

Re: Panucci Podcast and Audiobook Player
 
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.

Helmuth 2011-03-13 16:56

Re: Panucci Podcast and Audiobook Player
 
4 Attachment(s)
Quote:

Originally Posted by xerxes2 (Post 966455)
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? :D Perhaps it is stored but not loaded at the startup? Hmm...

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

xerxes2 2011-03-13 19:34

Re: Panucci Podcast and Audiobook Player
 
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. :D

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.

Helmuth 2011-03-13 20:03

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 966990)
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;


Quote:

Originally Posted by xerxes2 (Post 966990)
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

Quote:

Originally Posted by xerxes2 (Post 966990)
Maybe /usr/bin/panucci should just be a symlink to /opt/panucci/bin/panucci ?

Hm, perhaps it was a symlink to somewhere else. :confused:
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. :confused:

Quote:

Originally Posted by xerxes2 (Post 966990)
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! ;) :D

xerxes2 2011-03-13 20:18

Re: Panucci Podcast and Audiobook Player
 
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" .

Helmuth 2011-03-13 20:40

Re: Panucci Podcast and Audiobook Player
 
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 :o)

xerxes2 2011-03-13 20:42

Re: Panucci Podcast and Audiobook Player
 
Nope, if the file is executable it does not need python before sto start. Try to run "panucci" and see for yourself.

Helmuth 2011-03-13 20:52

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967028)
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.

xerxes2 2011-03-13 20:56

Re: Panucci Podcast and Audiobook Player
 
No need to go to /usr/bin as its already in your PATH shell variable. Just run "panucci" in a shell and see what the errors are?

Helmuth 2011-03-13 21:03

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967034)
No need to go to /usr/bin as its already in your PATH shell variable. Just run "panucci" in a shell and see what the errors are?

I replied by editing my last post.

I gone to /usr/bin to ensure that I try to execute exactly this file. Not that I try to run a file from somewhere else if I simply enter panucci at the commandline. :)
I know it works with 0.99 simply by typing panucci at /home/usr/ or somewhere else... but with the version from git I got the error from above. It must occur inside the file. :rolleyes:

xerxes2 2011-03-13 21:05

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 967031)
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.

There is no file! :p

Edit: The one you need is in the "bin" directory.

Edit2: I think this little mystery will soon be solved. :D

Edit3: Yes the file on git is smaller since i moved around some code.

Helmuth 2011-03-13 21:14

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967040)
There is no file! :p

Edit: The one you need is in the "bin" directory.

Edit2: I think this little mystery will soon be solved. :D

This driving me crazy... :mad:

I'm at /usr/bin/

Code:

/usr/bin $ ls panu*
panucci
/usr/bin $

At /bin/ there is no panucci file. There are even not so much files... 58 exactly.

xerxes2 2011-03-13 21:21

Re: Panucci Podcast and Audiobook Player
 
Could you past me your "ls -l /usr/bin |grep panucci"?

[xerxes2@ninja ~]$ ls -l /usr/bin |grep panucci
-rwxr-xr-x 1 root root 2154 Mar 13 01:57 panucci

That is what it should look like.

Edit: So what you need to do is to grab this file: https://github.com/xerxes2/panucci/b...er/bin/panucci
and put it in /usr/bin and run "chmod 755 /usr/bin/panucci" as root. There might be more trouble after that but it's a start.

Helmuth 2011-03-13 21:21

Re: Panucci Podcast and Audiobook Player
 
Ooookay. I edited the panucci file now.
I inserted print ("Test") after the last import line.

Now the file is only 2173 bytes big :confused: and if I run it I got this error:
Code:

~ $ panucci
Test
No handlers could be found for logger "panucci.settings.Settings"
Traceback (most recent call last):
  File "/usr/bin/panucci", line 64, in <module>
    from panucci import main
  File "/opt/panucci/lib/panucci/main.py", line 63, in <module>
    from panucci.player import player
  File "/opt/panucci/lib/panucci/player.py", line 26, in <module>
    from panucci.dbusinterface import interface
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 159, in <module>
    dbus.service.BusName('org.panucci.panucciInterface', session_bus) )
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 36, in __init__
    dbus.service.Object.__init__(self, object_path=path, bus_name=bus_name)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 571, in add_to_connection
    self._fallback)
RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
~ $

I edited it with the same tool I copy the files on my N900. A SSH client with the name WinSCP. [sigh]

Sorry to waste again your time. :(

Helmuth 2011-03-13 21:25

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967048)
Could you past me your "ls -l /usr/bin |grep panucci"?

[xerxes2@ninja ~]$ ls -l /usr/bin |grep panucci
-rwxr-xr-x 1 root root 2154 Mar 13 01:57 panucci

That is what it should look like.

File 1 is the one I edited several minutes before. File 2 is the file from git. Fresh copied to the N900.

Code:

~ $ ls -l /usr/bin |grep panucci
-rwxr-xr-x    1 root    root        2173 Mar 13 22:18 panucci
~ $ ls -l /usr/bin |grep panucci
-rwxr-xr-x    1 root    root        2222 Mar 13 17:15 panucci
~ $


Helmuth 2011-03-13 21:32

Re: Panucci Podcast and Audiobook Player
 
So, now I edited the /usr/bin/panucci file using a texteditor over ssh and copied the raw code from git using the clipboard.

Now I'm able to execute but I got this error:
Code:

~ $ ls -l /usr/bin |grep panucci
-rwxr-xr-x    1 root    root        2159 Mar 13 22:28 panucci
~ $ panucci
No handlers could be found for logger "panucci.settings.Settings"
Traceback (most recent call last):
  File "/usr/bin/panucci", line 63, in <module>
    from panucci import main
  File "/opt/panucci/lib/panucci/main.py", line 63, in <module>
    from panucci.player import player
  File "/opt/panucci/lib/panucci/player.py", line 26, in <module>
    from panucci.dbusinterface import interface
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 159, in <module>
    dbus.service.BusName('org.panucci.panucciInterface', session_bus) )
  File "/opt/panucci/lib/panucci/dbusinterface.py", line 36, in __init__
    dbus.service.Object.__init__(self, object_path=path, bus_name=bus_name)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 480, in __init__
    self.add_to_connection(conn, object_path)
  File "/usr/lib/pymodules/python2.5/dbus/service.py", line 571, in add_to_connection
    self._fallback)
RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
~ $

The same as above as far as I can see.

Edit:
AH! Now that I'm able to execute the file in bin I should replace the other *.py files, too. ;) one moment please :D

xerxes2 2011-03-13 21:32

Re: Panucci Podcast and Audiobook Player
 
Now you have to change all the files to git. There's been a ton of changes. But the panucci file seems to be working just fine.

Edit: And don't forget the new "gtkui" directory! There will soon be a qtui directory too but it's only half done now.

Helmuth 2011-03-13 21:34

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967060)
Now you have to change all the files to git. There's been a ton of changes.

Ahem, yes. I've realized this now too. :D

But it's for me still a riddle why the file at /usr/bin only works after editing. :(

Edit:
Now it works:
Code:

~ $ panucci
/opt/panucci/lib/panucci/gtkui/gtkplaylist.py:217: GtkWarning: gtk_tree_view_get_path_at_pos: assertion `tree_view->priv->bin_window != NULL' failed
  path_info = self.treeview.get_path_at_pos(0,0)
ERROR:dbus.proxies:Introspect error on :1.10:/org/freedesktop/Hal/devices/platform_retu_headset_logicaldev_input: dbus.exceptions.DBusException: org.freedesktop.Hal.NoSuchDevice: No device with id /org/freedesktop/Hal/devices/platform_retu_headset_logicaldev_input
INFO:panucci.dbsqlite.Storage:Deleting bookmark by id: 0
DEBUG:panucci.dbsqlite.Storage:COMMIT
WARNING:panucci.dbsqlite.Storage:Not saving bookmark without playlist filepath
DEBUG:panucci.backends.BasePlayer:Sending signal "stopped" for caller "stop"
DEBUG:panucci.player.PanucciPlayer:Sending signal "stopped" for caller "PanucciPlayer"
DEBUG:panucci.playlist.Playlist:quit() called.
INFO:panucci.playlist.Playlist:Queue modified, saving temporary playlist
INFO:panucci.dbsqlite.Storage:Updating playlist: /home/user/.config/panucci/panucci.m3u
DEBUG:panucci.dbsqlite.Storage:COMMIT
INFO:panucci.dbsqlite.Storage:Deleting all bookmarks for: 69
DEBUG:panucci.dbsqlite.Storage:COMMIT
INFO:panucci.dbsqlite.Storage:Deleting resume bookmark for: 69
DEBUG:panucci.dbsqlite.Storage:COMMIT
INFO:panucci.dbsqlite.Storage:Saving Automatisches Lesezeichen, 0 (/home/user/MyDocs/Podcasts/SWR Aktuell/20110312-1847.6444m.mp3)
DEBUG:panucci.dbsqlite.Storage:COMMIT
~ $

Strange. So, to note: If you're to stupid to replace a file at /usr/bin/ edit the file and paste the content using the clipboard. :D

But I still can't understand it. Perhaps because I cloned it to a windows pc from git and copied it then to the N900 using ssh?
But why is this only for the /usr/bin/ file a problem and not for the others at /opt/panucci/lib/panucci/ :confused:

xerxes2 2011-03-13 21:54

Re: Panucci Podcast and Audiobook Player
 
i think it was the permissions but as they say, if it works don't try to fix it. :D
Now if you're not too tired you can fix the settings dialog.

Edit: Or you can tell me how to do it. Should I put the toggle buttons to the left and the radio buttons to the right?

Helmuth 2011-03-13 22:12

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967082)
i think it was the permissions but as they say, if it works don't try to fix it. :D

I'm sure it wasn't. It has still the same permissions. (as far as I can see) :(

I edited the file I copied to the N900. Not the one I have installed using apt-get.

Quote:

Originally Posted by xerxes2 (Post 967082)
Now if you're not too tired you can fix the settings dialog.

If you want that I try to make a hole in a wall using my (normally) beloved N900, then hell yes. :D

I have to look thru the rest of the code before to learn how to place (move) gtk widgets on a window. Or perhaps I try if "setX" works first... :rolleyes: But not this night. :) Sorry...

Have a good night and enjoy your week! :)

Helmuth 2011-03-13 22:15

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967082)
Edit: Or you can tell me how to do it. Should I put the toggle buttons to the left and the radio buttons to the right?

If it helps I could draw you a mockup with coordinates tomorrow...

Or perhaps I could try to create a ui file using Qt Creator that looks well at the N900. :rolleyes:
Could this help? Or is gtk simply to different?

xerxes2 2011-03-13 22:18

Re: Panucci Podcast and Audiobook Player
 
GTK and Qt works just about the same so just tell me how it should look and I'll try to fix it.

Edit: Other than that it looked pretty good. The main menu worked out nice and maybe we should add the last two items too as there seems to be more space to fit them in there.

Edit: After some advice from thp I come up with this. https://github.com/xerxes2/panucci/c...5886026ae7b18b
I think it should look MUCH better now, hopefully.

Helmuth 2011-03-14 16:13

Re: Panucci Podcast and Audiobook Player
 
1 Attachment(s)
Hi xerxes2!

Quote:

Originally Posted by xerxes2 (Post 967103)
GTK and Qt works just about the same so just tell me how it should look and I'll try to fix it.

I've done a git clone 5 minutes ago.

It looks very well. Look at the attachment.

It's not very finger friendly. But it works for me.

But you should replace the "close" button with a "store settings" button. You don't need a close button at all. At Maemo you have only to tap outside the window in the blurred area to trigger a cancel at a dialog. :)

Quote:

Originally Posted by xerxes2 (Post 967103)
Edit: Other than that it looked pretty good. The main menu worked out nice and maybe we should add the last two items too as there seems to be more space to fit them in there.

As already described in Post #404 the buttons "Add File", "Add Folder" and "Save Playlist" have stopped working.(tested with git clode from 13.03.2011 and from 14.03.2011)

The Buttons Playlist, Settings and About are working.

Additionaly the Bluetooth Buttons have stopped working.(tested with git clode from 13.03.2011)
(I'm currently not in my car, can't test it with the newest version)

Mmh, and for the Buttons Clear Playlist and Delete All Bookmarks... I don't like the idea to simply place it there only because we have enought space.
It's dangerous to tap they simply by accident. And deleting something without asking if you really want to proceed is in my opinion a bad design.

Quote:

Originally Posted by xerxes2 (Post 967103)
Edit: After some advice from thp I come up with this. https://github.com/xerxes2/panucci/c...5886026ae7b18b
I think it should look MUCH better now, hopefully.

Confirming. Great work! :)

See below...

xerxes2 2011-03-14 19:32

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 967578)
I've done a git clone 5 minutes ago.

It looks very well. Look at the attachment.

It's not very finger friendly. But it works for me.

But you should replace the "close" button with a "store settings" button. You don't need a close button at all. At Maemo you have only to tap outside the window in the blurred area to trigger a cancel at a dialog. :)

But you're not storing the settings as they're applied directly. I say the button should stay or possibly be taken away, even though that might not work that good for other platforms than fremantle.

Quote:

Originally Posted by Helmuth (Post 967578)
As already described in Post #404 the buttons "Add File", "Add Folder" and "Save Playlist" have stopped working.(tested with git clode from 13.03.2011 and from 14.03.2011)

The Buttons Playlist, Settings and About are working.

Dammit I missed it the first time. As all those actions that didn't work used the filechoser this bug was easy to find. :D Should be fixed with this commit.
https://github.com/xerxes2/panucci/c...258ab409d62738

Quote:

Originally Posted by Helmuth (Post 967578)
Additionaly the Bluetooth Buttons have stopped working.(tested with git clode from 13.03.2011)
(I'm currently not in my car, can't test it with the newest version)

Hmm, no clue about this one yet. If you fix it let me know.

Quote:

Originally Posted by Helmuth (Post 967578)
Mmh, and for the Buttons Clear Playlist and Delete All Bookmarks... I don't like the idea to simply place it there only because we have enought space.
It's dangerous to tap they simply by accident. And deleting something without asking if you really want to proceed is in my opinion a bad design.

Ok I added a confirmation dialog for delete all bookmarks. I didn't do it for clear playlist but if that's what people want I'll do it.

Quote:

Originally Posted by Helmuth (Post 967578)
Confirming. Great work! :)

Thanks, and thanks for all the bug reports and feature requests. I also have a little suggestion. By looking at your scrots the playlist window looks a bit ugly with all text. This is what it looks like on the desktop.
http://www.ungietern.se/users/xerxes...i-playlist.jpg

Maybe we should use icons instead like in the player window?

gojira 2011-03-14 20:09

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by magnuslu (Post 453555)
Any chance that there will ever be variable speed playback with constant pitch for Panucci? I'd love that for my audiobooks and podcasts! It's available in Windows Media Player and the iPod (so I assume also on the iPhone). Spoken word can easily be speeded up 20 to as high as 50% on some recordings. The faster speed forces me to concentrate more and my thoughts drift away less often...
Quote:

Originally Posted by nikosapi (Post 455521)
This has been brought up before, I just can't find the thread atm. I tested all the gstreamer plugins that would actually compile in the maemo (diablo) scratchbox. It became clear that the n810 doesn't have enough processing power to run these plugins. Perhaps the n900 might, but I suspect it will run down the battery quickly.


Just wondering has anyone (capable) looked into this feature request further? It would be a handy feature to have.

Helmuth 2011-03-14 22:01

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967722)
But you're not storing the settings as they're applied directly. I say the button should stay or possibly be taken away, even though that might not work that good for other platforms than fremantle.

Is it not planned to add this feature in the near future?
Why a settings dialog if it is not stored? :confused:

Quote:

Originally Posted by xerxes2 (Post 967722)
Dammit I missed it the first time. As all those actions that didn't work used the filechoser this bug was easy to find. :D Should be fixed with this commit.
https://github.com/xerxes2/panucci/c...258ab409d62738

Tested, seems to work. :)

Quote:

Originally Posted by xerxes2 (Post 967722)
Hmm, no clue about this one yet. If you fix it let me know.

Not much time to look into the source and no BT headset at the moment around me to test changes. (only my radio in my car) Sorry. :(
Will try to look into it later this week. What have you changed that could cause that this commands could be ignored?
Buttons renamed or is it because of the moved gtk code?

Quote:

Originally Posted by xerxes2 (Post 967722)
Ok I added a confirmation dialog for delete all bookmarks. I didn't do it for clear playlist but if that's what people want I'll do it.

Will look how it works at daily usage as soon as the playlist bugs are fixed. Until then it is anyway a little bit hard to use.

Quote:

Originally Posted by xerxes2 (Post 967722)
Thanks, and thanks for all the bug reports and feature requests. I also have a little suggestion. By looking at your scrots the playlist window looks a bit ugly with all text. This is what it looks like on the desktop.
http://www.ungietern.se/users/xerxes...i-playlist.jpg

Maybe we should use icons instead like in the player window?

I have at some Maemo5 applications the problem that I don't know what some symbols at buttons mean and what they does. I don't have this problem at Buttons with text on it. But perhaps there is not enought space for both. Hmm... I'm again not very sure about this.
Anyway, not one of the important issues. But perhaps others will prefer icons instead of text. I don't know.

But we should first try to fix all bugs the new big changes has introduced. :)

xerxes2 2011-03-14 22:35

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by gojira (Post 967741)
Just wondering has anyone (capable) looked into this feature request further? It would be a handy feature to have.

i saw that in buqzilla a while ago but it doesn't seem like gstreamer's playbin element supports setting playback speed so don't hold your breath on this one. If anyone has any ideas of how to fix it let me know.

xerxes2 2011-03-14 22:46

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 967806)
Is it not planned to add this feature in the near future?
Why a settings dialog if it is not stored? :confused:

The settings dialog is only for changing options directly and are not stored. If you want to make changes permanent do it in panucci.conf. I don't think I'll change this behaviour.

Quote:

Originally Posted by Helmuth (Post 967806)
Not much time to look into the source and no BT headset at the moment around me to test changes. (only my radio in my car) Sorry. :(
Will try to look into it later this week. What have you changed that could cause that this commands could be ignored?
Buttons renamed or is it because of the moved gtk code?

It was some moved settings code but i think I fixed it.
https://github.com/xerxes2/panucci/c...72f700e45ca9a2
Also, when you find bugs run panucci in a shell and see if it spits out some errors. That way I can fix the bugs very easy.

Quote:

Originally Posted by Helmuth (Post 967806)
Will look how it works at daily usage as soon as the playlist bugs are fixed. Until then it is anyway a little bit hard to use.

What bugs?

Quote:

Originally Posted by Helmuth (Post 967806)
I have at some Maemo5 applications the problem that I don't know what some symbols at buttons mean and what they does. I don't have this problem at Buttons with text on it. But perhaps there is not enought space for both. Hmm... I'm again not very sure about this.
Anyway, not one of the important issues. But perhaps others will prefer icons instead of text. I don't know.

It will definitely look prettier with icons but yes there could be a problem with not knowing what they do. :D On maemo it'll only be icons without text like in the player window.

thp 2011-03-15 09:02

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967827)
i saw that in buqzilla a while ago but it doesn't seem like gstreamer's playbin element supports setting playback speed so don't hold your breath on this one. If anyone has any ideas of how to fix it let me know.

There's the ScaleTempo plugin for GStreamer that can be used for this: http://scaletempo.sourceforge.net/

I never got around to actually try it (and build it for Maemo if it doesn't already exist), but that should be the plugin that can fulfill that use case. I've updated the bug report with a link to the plugin, although it seems as if the Git repository is empty/down at the moment.

thp 2011-03-15 09:09

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 967578)
It looks very well. Look at the attachment.

It's not very finger friendly. But it works for me.

But you should replace the "close" button with a "store settings" button. You don't need a close button at all. At Maemo you have only to tap outside the window in the blurred area to trigger a cancel at a dialog. :)

Settings dialogs on Maemo 5 should probably look like this:

http://farm4.static.flickr.com/3411/...d3615398_z.jpg

(Finger-friendly buttons, with "Save" to save and "Cancel" (=click outside the dialog) reverting the changes.) Turns out that today's lecture was postponed, so maybe I'll look into that now :)

thp 2011-03-15 09:14

Re: Panucci Podcast and Audiobook Player
 
By the way, if you want to use Git directly on the N900, use the package git-core and remove the package git first. The latter seems to be broken.

Helmuth 2011-03-15 09:45

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967833)
The settings dialog is only for changing options directly and are not stored. If you want to make changes permanent do it in panucci.conf. I don't think I'll change this behaviour.

Hm, okay. In this case I don't know why you have added a settings dialog? :confused:

Quote:

Originally Posted by xerxes2 (Post 967833)
It was some moved settings code but i think I fixed it.
https://github.com/xerxes2/panucci/c...72f700e45ca9a2
Also, when you find bugs run panucci in a shell and see if it spits out some errors. That way I can fix the bugs very easy.

Thanks. I will try to test the code this evening.

[Playlist]
Quote:

Originally Posted by xerxes2 (Post 967833)
What bugs?

Please read again my Post #384 with a detailed bug report and about 50 Posts before from me and several other peoples and the last posts from me after we have enlightened that you don't tried to introduce a new feature...

Quote:

Originally Posted by xerxes2 (Post 967833)
It will definitely look prettier with icons but yes there could be a problem with not knowing what they do. :D On maemo it'll only be icons without text like in the player window.

Hm... perhaps not the best solution. I like the text at the moment more for Dialoges I don't use every day. :)

thp 2011-03-15 10:35

Re: Panucci Podcast and Audiobook Player
 
2 Attachment(s)
I did some changes and pushed them to the Panucci repo. You can grab them by pulling from git://repo.or.cz/panucci.git. You might need to add some tweaks for the Desktop version, I wasn't able to test it, although I've made sure that it's easy to support the Desktop version as well.

I've also changed the ordering of the app menu a bit (to be more in sync with the ordering in gPodder) and moved playlist-specific items to the playlist window's app menu. Also (as I needed that for testing) I've fixed the path-specific code to make Panucci runnable from a Git checkout without the need to install it. Simply git clone the repository and start with "bin/panucci".

The current labels of the actions are a bit short and not very clear. Suggestions:

Scrolling labels -> Scroll long text in main window
Lock progress bar -> (invert meaning in the code) -> Seek by touching the progress bar
Dual Action Button -> Secondary button actions (long press)

I'm not sure what "Stay at End" and "Seek back" means, but I'm sure you'll figure out a good description/label for those, too.

xerxes2 2011-03-15 17:26

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 968096)
Hm, okay. In this case I don't know why you have added a settings dialog? :confused:

It's just for setting stuff in the running session. If you want to make something permanent put it in panucci.conf. I'd guess that the most used options are lock progress and play mode which probably are not any values you would like to store anyway. There will be more options added to panucci.conf too. You could put just about any option used in panucci in there, like hotkeys and sizes and stuff. i will soon add a gui option but more about that later.

Quote:

Originally Posted by Helmuth (Post 968096)
Please read again my Post #384 with a detailed bug report and about 50 Posts before from me and several other peoples and the last posts from me after we have enlightened that you don't tried to introduce a new feature...

You mean the gpodder bug?! Hmm, as I said before I believe you but as it seems to work just fine for me I don't really know how to fix it. Will have to ask thp about it. :D But as there doesn't seem to be that much else to fix I might look into it some more.

xerxes2 2011-03-15 17:42

Re: Panucci Podcast and Audiobook Player
 
1 Attachment(s)
Quote:

Originally Posted by thp (Post 968129)
I did some changes and pushed them to the Panucci repo. You can grab them by pulling from git://repo.or.cz/panucci.git. You might need to add some tweaks for the Desktop version, I wasn't able to test it, although I've made sure that it's easy to support the Desktop version as well.

I've also changed the ordering of the app menu a bit (to be more in sync with the ordering in gPodder) and moved playlist-specific items to the playlist window's app menu. Also (as I needed that for testing) I've fixed the path-specific code to make Panucci runnable from a Git checkout without the need to install it. Simply git clone the repository and start with "bin/panucci".

The current labels of the actions are a bit short and not very clear. Suggestions:

Scrolling labels -> Scroll long text in main window
Lock progress bar -> (invert meaning in the code) -> Seek by touching the progress bar
Dual Action Button -> Secondary button actions (long press)

I'm not sure what "Stay at End" and "Seek back" means, but I'm sure you'll figure out a good description/label for those, too.

Hey thanks man it looks great. Very much welcome that someone that have a n900 made it prettier for fremantle. :cool:

And "seek_by_touch" works for me. The invert meaning in the code don't bother me but I'm all for it. And "stay_at_end" is a "bug" I fixed. :D It's when a file ends and the current position stays at the end of the file instead of beeing reset to the beginning. And "seek_back" is a feature mostly meaningful for audiobooks with multple files. It seeks backwards through multiple files instead of just to the beginning. Just as it works when seeking forward.

And here comes a little teaser. It's panucci qt. The player window is almost done, "only" have scrolling labels and dual action button left soon. Will take a month or so to make it just as good as the gtk version.

xerxes2 2011-03-15 17:45

Re: Panucci Podcast and Audiobook Player
 
QtGtkStyle is very nice. When that works, GTK and Qt apps looks almost exactly the same. I've always thought that Qt was ugly but this looks pretty good.

Helmuth 2011-03-15 19:19

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 968348)
You mean the gpodder bug?! Hmm, as I said before I believe you but as it seems to work just fine for me I don't really know how to fix it. Will have to ask thp about it. :D But as there doesn't seem to be that much else to fix I might look into it some more.

It worked before. So some of you changes has introduced this bug. But at the moment I can see a lot more differences than common source... :(

Edit: Okay, running panucci from commandline with a mp3 file as parameter works. Hmm...

Helmuth 2011-03-16 07:11

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 967833)
It was some moved settings code but i think I fixed it.
https://github.com/xerxes2/panucci/c...72f700e45ca9a2

Confirming. Bluetooth Buttons are working again.

Edit:
Okay, new Bluetooth related Bug occurred:
If Panucci is opened and a Bluetooth Audio Device connects the playback starts. (regardless if it was in pause or stop state.
(or "end of file" - finished playback)
Git clone from 15.03.2011

Edit - 2:
Oh, and the current git clone isn't working. I guess QtGui related and you currently working on it... Happy hacking! :D


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

vBulletin® Version 3.8.8