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-10 22:40

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965319)
Hmm, that paused bug seems to be a gpodder thing. It controls panucci with dbus when it's already running. Will have to talk with thp about that and what the best behaviour is. But I'll add your code and will try to investigate (ask thp) on how to do a dialog menu for the fremantle settings. And yes I'm tired too. :D

Hmm... I don't think we should change this play/pause behavior. You don't need to ask thp. I would say we should reconsider how panucci itself handles the files it gets from gPodder.

I would say in a normal use case gPodder should add the new File to the end of the Playlist (as it happens now) but it should immedially start to playback the last file from this playlist. (the newest added)

See my suggestion from the end of this Post.

Is there somewhere a dbus command to get new files to add them to the playlist or is it only via "panucci %1" from commandline?

Helmuth 2011-03-10 22:48

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965326)
Hmm it doesn't do this for me. If I close panucci and chose another file to play in gpodder it plays the new one and deletes the old playlist. I run gpodder from git though, will have to ask if something changed there but it seems unlikely.

Okay, it seems that we have a totally different behavior depending on the platform... :(

I don't know what is by purpose or what is a Bug. :D
And Panucci had in the past always remembered the last file and position. I thought it is normal to keep the last playlist, too? :confused:

xerxes2 2011-03-10 22:51

Re: Panucci Podcast and Audiobook Player
 
There are tons of dbus commands and I just added six more too. :D
https://github.com/xerxes2/panucci/b...usinterface.py

So first time gpodder starts panucci it's with "panucci %s" and when panucci is up and running it's with dbus. But that we have to talk to thp about.

xerxes2 2011-03-10 22:54

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 965334)
Okay, it seems that we have a totally different behavior depending on the platform... :(

I don't know what is by purpose or what is a Bug. :D
And Panucci has in the past always remembered the last file and position. I thought it is normal to keep the last playlist, too? :confused:

Can you confirm this bug? Because for me if I close panucci and chose another file in gpodder it deletes the old playlist and plays the new file. I don't think this is something I've changed in panucci but I can't be completely sure either as I've touched just about every file in the panucci sorce now. :D

Helmuth 2011-03-10 23:04

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965339)
Can you confirm this bug? Because for me if I close panucci and chose another file in gpodder it deletes the old playlist and plays the new file. I don't think this is something I've changed in panucci but I can't be completely sure either as I've touched just about every file in the panucci sorce now. :D

Yes, I can confirm. I thought we are already talking since one or two days about it. :D [sigh]
Have a look here: Post 344

I thought it was a new feature to store not only the last position where panucci has stopped, but also the playlist. (more as a trace back list what was played in the past days and I thought this could get very useful) :D

Dammit. We have to learn to talk the same language. ;)

Goodnight! :D

xerxes2 2011-03-10 23:11

Re: Panucci Podcast and Audiobook Player
 
Yes but as it worked for me I thought you were just talking bull :p (will not happen again :D). Where do you set that gpodder should use panucci? I set it in "Podcasts -> Preferences -> General -> Audio player: Command: panucci %U"
Maybe you set it another place?

Helmuth 2011-03-11 10:13

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by xerxes2 (Post 965349)
Yes but as it worked for me I thought you were just talking bull :p (will not happen again :D).

Ooh... No! Are you serious? You're kidding! Aren't you? :mad:

The last 3 days I tried to chum up with this dumb new feature I thought you have introduced with 0.99. :p :D
It was buggy, yes. But I tried to find out what is the reason behind and tried to like the idea as soon as all annoying Bugs and mysteriously behavior is ironed out!
I tried to give this "feature" and "your idea" a chance. :D

Hell! :mad: :mad: :mad: [*****censored*****] :p

Quote:

Originally Posted by xerxes2 (Post 965349)
Where do you set that gpodder should use panucci? I set it in "Podcasts -> Preferences -> General -> Audio player: Command: panucci %U"
Maybe you set it another place?

gPodder (main screen) -> Menu -> Settings (at the bottom) -> Player for Audio-Files -> Panucci

thp 2011-03-11 10:37

Re: Panucci Podcast and Audiobook Player
 
What gPodder actually does it call playback_from() on the D-Bus interface. This is so that Panucci starts from the position that gPodder thinks is the right one (e.g. if you have listened to the podcast a bit on your computer, it will sync the updated position over gpodder.net and tell Panucci to playback from that position). The code part where this is done can be found by searching for "if player == 'panucci':" in gui.py in gPodder.

xerxes2 2011-03-11 17:16

Re: Panucci Podcast and Audiobook Player
 
Quote:

Originally Posted by Helmuth (Post 965637)
Ooh... No! Are you serious? You're kidding! Aren't you? :mad:

The last 3 days I tried to chum up with this dumb new feature I thought you have introduced with 0.99. :p :D
It was buggy, yes. But I tried to find out what is the reason behind and tried to like the idea as soon as all annoying Bugs and mysteriously behavior is ironed out!
I tried to give this "feature" and "your idea" a chance. :D

Hell! :mad: :mad: :mad: [*****censored*****] :p

I promise that from now on I'll believe every word I read on tmo. :o

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.

xerxes2 2011-03-11 18:50

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


All times are GMT. The time now is 05:23.

vBulletin® Version 3.8.8