Active Topics

 



Notices


Reply
Thread Tools
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#441
Bluetooth bug should be fixed with this commit.
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!!).
 

The Following User Says Thank You to xerxes2 For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#442
Ah, I compared the file in /usr/bin but I missed the conf File again. Sorry.

I guess I should spent (the sole day in the week with earlier finishing time) my time with something different.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#443
Originally Posted by xerxes2 View Post
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.
Hi xerxes2. Thanks for all your work on panucci.

Regarding the settings dialogue, I think it is standard practice to expect any changes made in such a dialogue to be persistent, i.e. saved in the .conf file.

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.
 

The Following 2 Users Say Thank You to pelago For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#444
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
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#445
Ok, I fixed the settings stuff. It parses three files now, and panucci.conf is the last one and will override the others. Everything in the settings menu will be persistently stored.
__________________
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!!).
 

The Following 2 Users Say Thank You to xerxes2 For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#446
Originally Posted by pelago View Post
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.
I don't got a N900 and don't plan on getting one either, thankfully helmuth and thp helps out with Maemo. I was waiting for N9 but that one was cancelled so now I'm wating for N950. I've never owned any pda or smartphone for that matter. Laptop plus cheap phone always worked for me but now smartphones are getting insanely powerful and that makes them much more interesting. Hopefully N950 will be good and not take forever to release.
__________________
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!!).
 
Posts: 30 | Thanked: 7 times | Joined on Jul 2010
#447
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
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#448
Originally Posted by Helmuth View Post
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
Sorry for the late answer, been busy learning Qt. 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.

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 )?
__________________
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!!).
 

The Following User Says Thank You to xerxes2 For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#449
Originally Posted by zeltak View Post
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
Thanks man, this seems to be a bug which we will try to fix. We don't know exactly how yet but hopefully it'll be fixed in the next release for Fremantle.
__________________
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!!).
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#450
Originally Posted by xerxes2 View Post
You're trying to fix this bug in the wrong place but more about that later.


Originally Posted by xerxes2 View Post
First I want you to try both gpodder and panucci from git and see if the problem is still there, just to be sure.
Sadly, the current version from git is not working. I don't know where to place panucci-all.conf.

Code:
~ $ 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
~ $
I copied it to /home/user/.config/panucci


Originally Posted by xerxes2 View Post
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.
At my last version from 16.03.2011 it worked like this only when running panucci from commandline with the file as startup parameter. But in my opinion there is no need to delete the old playlist.
At the moment the files from gPodder are simply added. We should try to set the index at the playlist to this new track.

Originally Posted by xerxes2 View Post
If Panucci is already running it appends the chosen file to the playlist and continues to play hte file you're currently playing.
No, it stopps playing and the current file is beginning again from the start. The new File is at the end of the playlist. (somewhere after the current playing file)

Originally Posted by xerxes2 View Post
Is this the right behaviour? And how does it behaves for you (short description )?
No, not the right behaviour. At the Version from 16.03.2011 is nothing different compared to the version from the devel repo... (as far as I'm able to remember) - can't check the git clone from today.

About the bahavior from 16.03.2011 see my several reports above.

But perhaps there is a different Bug that has the same reason:
  • Open Panucci with 2 tracks at the Playlist.
  • Ensure that you currently playing track 2.
  • Close Panucci
  • Open Panucci
  • As you can see, track 2 is the current track
  • Go to the Playlist
  • Here is Track 1 highligted (perhaps the index was not set at the startup) [Bug]
  • Select Track 2 and Press "Jump to" (or what it is called)
  • Close the Playlist
  • Track 2 is playing
  • Open the Playlist
  • Track 2 is highligted [Correct]

So, the Playlist works. The index is correct set. But not correct initialized at the startup.
Could you check this?

And perhaps if we correct this Bug the index will be set correct as soon as the dBus command from gPodder is triggered?

I don't know where the parameter gets the new index. And I'm still a noob in this kind of stuff...
Have to leave now. Back at evening. Have a successful weekend!
 
Reply

Tags
barbiestrsand


 
Forum Jump


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