The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-16
, 16:43
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#442
|
![]() |
2011-03-16
, 17:06
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#443
|
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.
![]() |
2011-03-16
, 17:51
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#444
|
def append(self, item): if not self.__prep_item(item): return False item.duplicate_id = self.__count_dupe_items(self, item) item.load_bookmarks() self.__mapping_dict[str(item)] = item self.__current_item_position = len(self) print("Append File:") print(len(self)) list.append(self, item) return True
![]() |
2011-03-16
, 19:26
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#445
|
![]() |
2011-03-16
, 19:34
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#446
|
Also, have you looked into obtaining an N900, as I understand you don't have one currently? I'm sure people might be happy to donate you a few pounds/dollars/euros if necessary. It would be great if you had one and continued to help develop apps, as then you could more easily see how they work on the hardware itself, and how other apps (e.g. gpodder) interact with panucci, and see how the Maemo 5 finger-friendly style works in general.
![]() |
2011-03-19
, 13:10
|
Posts: 30 |
Thanked: 7 times |
Joined on Jul 2010
|
#447
|
![]() |
2011-03-19
, 19:18
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#448
|
I'm currently trying to fix the "append a new Track" Bug. (with gPodder)
In my opinion, setting the track to the last in the playbacklist if a file is added should fix the problem.
I fiddled out that as soon as the dbus signal is triggered it calls the function append(self, item) from class Queue(list, ObservableService) in file playlist.py.
So I tried to fix it with: self.__current_item_position = len(self)
But it has no effect. Even if I set current_item_position to zero. Hmm... Why has it no effect?
In the functions remove and insert is the current_item_position altered, too. And it seems to work there.
Here is my current function. Could you please have a look and give me a advice where to look to move the current playlist position to the last one in the list?
Code:def append(self, item): if not self.__prep_item(item): return False item.duplicate_id = self.__count_dupe_items(self, item) item.load_bookmarks() self.__mapping_dict[str(item)] = item self.__current_item_position = len(self) print("Append File:") print(len(self)) list.append(self, item) return True
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-19
, 19:21
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#449
|
hya
i recently upgraded pannuci and now when i launch a podcast through gpodder it just puts it in the playlist instead of launching and playing the podcast. i cant see a way to configure this behavior..anyone know how?
thx i love pannuci
zeltak
![]() |
2011-03-20
, 09:33
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#450
|
You're trying to fix this bug in the wrong place but more about that later.
First I want you to try both gpodder and panucci from git and see if the problem is still there, just to be sure.
~ $ panucci 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 34, in <module> from panucci.settings import settings File "/opt/panucci/lib/panucci/settings.py", line 90, in <module> settings = Settings() File "/opt/panucci/lib/panucci/settings.py", line 43, in __init__ _file = open(util.find_data_file("panucci-all.conf")) TypeError: coercing to Unicode: need string or buffer, NoneType found ~ $
And once again this is how it behaves for me (from git):
If Panucci is not running it deletes the old playlist and plays the chosen file and try to sync it.
If Panucci is already running it appends the chosen file to the playlist and continues to play hte file you're currently playing.
Is this the right behaviour? And how does it behaves for you (short description)?
https://github.com/xerxes2/panucci/c...d19baa2a68afd0
And git should work just fine. If not just run panucci in a shell and see what it spits out. There have been a few more options added to panucci.conf so you might wanna add those. And qt you can try with the --qt switch. Only the player window done so far.
And just to educate you some more about unix, a file which you try to execute directly with its name must be a binary or have a shebang on the first line.
http://en.wikipedia.org/wiki/Shebang_%28Unix%29
Could be useful to know.
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!!).