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)

xerxes2 2011-04-17 14:22

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 990065)
Hi xerxes2!

Sorry for the late reply. It works as expected. Tanks! :)

The Dialog itself doesn't look very well. But I tested it only with the gtk version so far. - What about a horizontal, perhaps logarithmical Slider? :)

Something like this?: https://github.com/xerxes2/panucci/c...4b9ebdb1d094f5

And if you grab the code from git please test that the fm transmitter menu item works too.

xerxes2 2011-04-17 14:27

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by roman4 (Post 990038)
Hmmm, in my setup it does not work, at least not completely as before:

Panucci correctly enters pause mode as I unplug my headphone. But it does not start when I plug the headphone.

Hmm, isn't it the headphone daemon that does this too? If not we'll have to poke thp ... again. But as Helmuth said, I wouldn't recommend making it a habit of plug/unplug the headophones a gazillion times. Sure the 3.5mm connector is pretty durable but it'll eventually break.

thp 2011-04-18 13:24

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 990514)
Hmm, isn't it the headphone daemon that does this too? If not we'll have to poke thp ... again. But as Helmuth said, I wouldn't recommend making it a habit of plug/unplug the headophones a gazillion times. Sure the 3.5mm connector is pretty durable but it'll eventually break.

The "play when plugged back in" was a feature of Panucci itself, and it was optional (you could turn it on to have the desired effect, but it was disabled by default). The source tarball panucci_0.3.17.tar.gz contains the necessary code - it's in panucci.py, and you'll find it searching for play_on_headset:

Code:

system_bus = dbus.SystemBus()
def handler_func(device_path):
    if device_path == '/org/freedesktop/Hal/devices/computer_logicaldev_input_1' and settings.play_on_headset and not player.playing:
        player.play()
system_bus.add_signal_receiver(handler_func, 'DeviceAdded', 'org.freedesktop.Hal.Manager', None, '/org/freedesktop/Hal/Manager')

I think this only works for real headsets (i.e. the ones included with the N900 and Bluetooth headsets - not headphones without microphone), but that shouldn't be a problem. It actually makes sense for Bluetooth headsets where you usually connect it manually by pressing a button on the headset.

xerxes2 2011-04-18 21:37

Re: Panucci Podcast and Audiobook Player
 
Yeah I remember I asked about that a while ago but didn't do anything about it but ... I tried now.
https://github.com/xerxes2/panucci/c...53adaa073b45a7

The whole headset stuff was more or less completely broken and probably still is as I can't test it myself. If it doesn't work run panucci in a shell and see if there are any errors.

eduperez 2011-04-30 03:53

Re: Panucci Podcast and Audiobook Player
 
I just updated to panucci 0.99.1, not sure what version I was using, and....

Where can I get the old version? Please, please, please? The old versions have been cleaned from the repository.

My problem is: I use it to listen to audiobooks. Each audiobook is in a folder, with a m3u file. I used to just open the m3u file and it automatically remembered the previous listening position. When I opened another m3u file, it remembered the position in that playlist.

Now, I cant open a m3u, I can only ADD a file (when I select a m3u file, it adds all files in that m3u). If I clean the playlist and then add the m3u, it does not remember the position in that playlist.

How can I use it the same way as it was before? Or get the old version?

EDIT:
Just found the old version at
http://www.codepowered.com/maemo/rep...ree/p/panucci/
it's probably the version I was using before, and it's working as previously.

xerxes2 2011-04-30 19:40

Re: Panucci Podcast and Audiobook Player
 
Hmm, so you can switch between m3u playlists with the old version and it remembers the last positions in all of them? I guess that makes sense, will have to investigate a bit more.

spann 2011-05-05 12:25

Re: Panucci Podcast and Audiobook Player
 
Hey eduperez,

Thanks very much for posting a link to the old player.

After upgrading, I found that the podcasts I listen to via gpodder no longer auto-resume from the last position listened to.

I really find it hard to believe that this feature has been removed - previously, gpodder and panucci were two fantastic programs that greatly increased the usefulness of my n900.

After this last update - not so much. Seriously, what were the designers thinking :-(.

xerxes2 2011-05-05 22:48

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by spann (Post 1000577)
After upgrading, I found that the podcasts I listen to via gpodder no longer auto-resume from the last position listened to.

If you explain a bit better I might be able to fix it.

spann 2011-05-06 08:53

Re: Panucci Podcast and Audiobook Player
 
Hi.

I use gpodder to download various podcasts.

Gpodder is configured to play the podcasts using panucci.

I select, let's say, podcast A in Gpodder and select play. It launches panucci, and I listen to it for a while before pausing it and quitting panucci.

I do the same for podcast B, listening to it for a while before quitting.

I then return to listen to podcast A, again selecting it in gpodder and choosing play. In previous versions, this would launch panucci and the podcast would continue *from where I had paused it*.

In the latest version, this is no longer the case - podcast A will restart from the beginning.

Thanks.

xerxes2 2011-05-06 13:47

Re: Panucci Podcast and Audiobook Player
 
Thanks for the very detailed bug report. Bug fixed:
https://github.com/xerxes2/panucci/c...e4a9a384eff646

Edit: About eduperez problem I haven't decided yet, I thought that was what bookmarks were used for. Will have to consult thp about that one.


All times are GMT. The time now is 03:18.

vBulletin® Version 3.8.8