Active Topics

 



Notices


Reply
Thread Tools
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#451
You should put panucci-all.conf in /opt/panucci. And I'm finished with the Qt gui now so I'll help you fix this bug. And don't forget to try gpodder from git too just in case, will probably have to talk with thp too so we fix this bug in the right place.
__________________
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
#452
Originally Posted by xerxes2 View Post
You should put panucci-all.conf in /opt/panucci.
Thanks, this does the trick.

Originally Posted by xerxes2 View Post
And I'm finished with the Qt gui now so I'll help you fix this bug. And don't forget to try gpodder from git too just in case, will probably have to talk with thp too so we fix this bug in the right place.
It's still exactly the same behavior as described several times.
But there is something that I don't know if it was there in the last git clones before (but I belief it was)

If panucci is opened and I start a new track at gpodder panucci adds the new file to the playlist, the current track stops and the playback of this formal current track starts from the beginning again. AND the Title of Panucci changes from the current file name to "Loading..." and stays at this.

So the file name of the new file doesn't appear in the Application Title. Perhaps this could point you to the correct place.

Last edited by Helmuth; 2011-03-20 at 20:42.
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#453
Originally Posted by Helmuth View Post
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!
I don't think I understand this. I've tried it and it works perfectly for me. What do you mean by "highlighted"?

Originally Posted by Helmuth View Post
Here is Track 1 highligted (perhaps the index was not set at the startup) [Bug]
)
And does it work or not?

Originally Posted by Helmuth View Post
So, the Playlist works. The index is correct set. But not correct initialized at the startup.
What do you mean by initialized? I don't think I get it.

Edit: I don't got any "highlighted" items in my playlist ever.
__________________
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!!).

Last edited by xerxes2; 2011-03-20 at 21:06.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#454
Originally Posted by xerxes2 View Post
I don't think I understand yjis. I've tried it and it works perfectlly for me. What do you mean by "highlighted"?
Sorry. I mean, if you have at example 3 tracks at the playlist. One of this track is marked as the current track. How do you say? Highligted, Marked, other background colour?

Anyway. If you have 5 Tracks in the Playlist, and Track 4 is playing... if you open the Playlist you see Track 4 marked, or highligted. It indicated that you currently playing this track.

If you close panucci now and opens it again Track 4 is again loaded on the last position. But if you open then the Playlist Track 1 is marked as currently playing despite the opened Track 4.

If you jump to track 3 track 3 starts. If you close and open the playlist again it still indicates that track 3 is currently playing.

But if you close panucci and open it again, track 3 is loaded, but as soon as you open the playlist it doesn't show that track 3 is currently playing. Track 1 is marked instead while Track 3 is still currently loaded and playing.
 

The Following User Says Thank You to Helmuth For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#455
I Also have a question. Now when the Qt gui is finished, for the desktop atleast, I (we) got to fix the menus and settings dialog to make it play nice with Maemo. Anyone knows how to make a hildon app menu in Qt? Or should I just put one normal menu in each window?

Edit: You run panucci with Qt using the "--qt" switch, depends on pyside. Will probably look a bit weird in Maemo right now.
__________________
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!!).

Last edited by xerxes2; 2011-03-20 at 21:10.
 
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#456
Originally Posted by Helmuth View Post
Sorry. I mean, if you have at example 3 tracks at the playlist. One of this track is marked as the current track. How do you say? Highligted, Marked, other background colour?

Anyway. If you have 5 Tracks in the Playlist, and Track 4 is playing... if you open the Playlist you see Track 4 marked, or highligted. It indicated that you currently playing this track.

If you close panucci now and opens it again Track 4 is again loaded on the last position. But if you open then the Playlist Track 1 is marked as currently playing despite the opened Track 4.

If you jump to track 3 track 3 starts. If you close and open the playlist again it still indicates that track 3 is currently playing.

But if you close panucci and open it again, track 3 is loaded, but as soon as you open the playlist it doesn't show that track 3 is currently playing. Track 1 is marked instead while Track 3 is still currently loaded and playing.
I see, thanks for the explanation. As I said I dont have any highlighted items in my playlist at all. So what you mean is that the currently played item is (or should) always be highlighted?

Edit: Hmm, I can't find any code that highlight items in the menu.
__________________
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!!).

Last edited by xerxes2; 2011-03-20 at 21:43.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#457
Originally Posted by xerxes2 View Post
I see, thanks for the explanation. As I said I dont have any highlighted items in my playlist at all. So what you mean is that the currently played item is (or should) always be highlighted?

Edit: Hmm, I can't find any code that highlight items in the menu.
Have a look at the screenshot. It looks like this. (at default with a blue color, but this doesn't matter)

But played a little bit longer with it I guess it was a false aleart.
The widget itself does it. It marks simply one item in the list. At the first time simply the first item. And if I close the playlist and open it again the last one is still marked. If the playback continues from track 2 to track 3 the playlist is neither updated. So I was simply confused by it while checking how it actually works. Sorry.
Attached Images
 
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#458
Originally Posted by xerxes2 View Post
I Also have a question. Now when the Qt gui is finished, for the desktop atleast, I (we) got to fix the menus and settings dialog to make it play nice with Maemo. Anyone knows how to make a hildon app menu in Qt? Or should I just put one normal menu in each window?

Edit: You run panucci with Qt using the "--qt" switch, depends on pyside. Will probably look a bit weird in Maemo right now.
As far as I understood it should work with a normal menu using Qt. It should look and work itself in the hildon style...
But we could check this.

Sadly it's currently not working. (git clone from this morning)

Code:
~ $ panucci --qt
/opt/panucci/lib/panucci/qtui/qtmain.py:61: GtkWarning: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
  self.app = QtGui.QApplication(["Panucci"])
CRITICAL:panucci Exception caught:
Traceback (most recent call last):
  File "/usr/bin/panucci", line 64, in <module>
    main.run(opts, args)
  File "/opt/panucci/lib/panucci/main.py", line 75, in run
    PanucciGUI(filepath)
  File "/opt/panucci/lib/panucci/qtui/qtmain.py", line 67, in __init__
    self.__player_tab = PlayerTab(self)
  File "/opt/panucci/lib/panucci/qtui/qtmain.py", line 318, in __init__
    self.label_title = qtwidgets.ScrollingLabel(settings.config)
  File "/opt/panucci/lib/panucci/qtui/qtwidgets.py", line 87, in __init__
    self.timer.timeout.connect(self.timer_callback)
AttributeError: 'PySide.QtCore.QTimer' object has no attribute 'timeout'
~ $
 

The Following User Says Thank You to Helmuth For This Useful Post:
xerxes2's Avatar
Posts: 513 | Thanked: 651 times | Joined on Feb 2011 @ Sweden
#459
Ok I made special menus for maemo now for qt. And as you say menus should work just fine in qt. About your errors I've no clue. Are you using latest pyside and qt? That code works perfectly for me so I'll have to dig a bit deeper.

Edit: found this -> http://developer.qt.nokia.com/wiki/S...lots_in_PySide
It seems that I'm using a new feature in pyside. maybe you have an older version in Maemo? I've a ton of those so I'm not very keen of fixing that. Will have to investigate a bit more about this.

And where the heck does the gtk warning comes from??? Is Qt somehow using gtk on Maemo? I don't get that warning.
__________________
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!!).

Last edited by xerxes2; 2011-03-20 at 23:06.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#460
Originally Posted by xerxes2 View Post
Ok I made special menus for maemo now for qt. And as you say menus should work just fine in qt. About your errors I've no clue. Are you using latest pyside and qt? That code works perfectly for me so I'll have to dig a bit deeper.
About pyside I have no clue. I have the current stable Qt version installed (it comes with the firmware) and a stable version of PyQt.
 
Reply

Tags
barbiestrsand


 
Forum Jump


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