![]() |
Re: Panucci Podcast and Audiobook Player
Quote:
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. :) |
Re: Panucci Podcast and Audiobook Player
Quote:
I hope on sunday after the big family meal... :) |
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.
|
Re: Panucci Podcast and Audiobook Player
4 Attachment(s)
Quote:
So. I've copied the git code from today to my N900. Here is my report:
Here you have some screenshots to see how it looks at the moment: |
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. |
Re: Panucci Podcast and Audiobook Player
Quote:
Code:
[Desktop Entry]Quote:
Quote:
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:
|
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" . |
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) |
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.
|
Re: Panucci Podcast and Audiobook Player
Quote:
But perhaps you're right. This works: Code:
cd /usr/bin/ Okay, as soon as I copy the panucci file from the git bin folder to /usr/bin/ I got this: Code:
cd /usr/bin/ |
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?
|
Re: Panucci Podcast and Audiobook Player
Quote:
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: |
Re: Panucci Podcast and Audiobook Player
Quote:
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. |
Re: Panucci Podcast and Audiobook Player
Quote:
I'm at /usr/bin/ Code:
/usr/bin $ ls panu* |
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. |
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 Sorry to waste again your time. :( |
Re: Panucci Podcast and Audiobook Player
Quote:
Code:
~ $ ls -l /usr/bin |grep panucci |
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 panucciEdit: AH! Now that I'm able to execute the file in bin I should replace the other *.py files, too. ;) one moment please :D |
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. |
Re: Panucci Podcast and Audiobook Player
Quote:
But it's for me still a riddle why the file at /usr/bin only works after editing. :( Edit: Now it works: Code:
~ $ panucci 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: |
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? |
Re: Panucci Podcast and Audiobook Player
Quote:
I edited the file I copied to the N900. Not the one I have installed using apt-get. Quote:
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! :) |
Re: Panucci Podcast and Audiobook Player
Quote:
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? |
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. |
Re: Panucci Podcast and Audiobook Player
1 Attachment(s)
Hi xerxes2!
Quote:
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:
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:
See below... |
Re: Panucci Podcast and Audiobook Player
Quote:
Quote:
https://github.com/xerxes2/panucci/c...258ab409d62738 Quote:
Quote:
Quote:
http://www.ungietern.se/users/xerxes...i-playlist.jpg Maybe we should use icons instead like in the player window? |
Re: Panucci Podcast and Audiobook Player
Quote:
|
Re: Panucci Podcast and Audiobook Player
Quote:
Why a settings dialog if it is not stored? :confused: Quote:
Quote:
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:
Quote:
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. :) |
Re: Panucci Podcast and Audiobook Player
Quote:
|
Re: Panucci Podcast and Audiobook Player
Quote:
Quote:
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:
Quote:
|
Re: Panucci Podcast and Audiobook Player
Quote:
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. |
Re: Panucci Podcast and Audiobook Player
Quote:
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 :) |
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.
|
Re: Panucci Podcast and Audiobook Player
Quote:
Quote:
[Playlist] Quote:
Quote:
|
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. |
Re: Panucci Podcast and Audiobook Player
Quote:
Quote:
|
Re: Panucci Podcast and Audiobook Player
1 Attachment(s)
Quote:
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. |
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.
|
Re: Panucci Podcast and Audiobook Player
Quote:
Edit: Okay, running panucci from commandline with a mp3 file as parameter works. Hmm... |
Re: Panucci Podcast and Audiobook Player
Quote:
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