New seek() method in the DBUS interface

Bug #317328 reported by insomniac
4
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Unassigned

Bug Description

I think it would be useful to have a seek() method in the DBUS interface, in order to seek into a track.

Thank you,
insomniac

reacocard (reacocard)
Changed in exaile:
importance: Undecided → Wishlist
milestone: none → 0.3.x
status: New → Confirmed
Revision history for this message
Aly Hirani (alyhirani) wrote :

Here is the patch that implements the Seek interface. It accepts a string in the form hh:mm:ss and resides as org.exaile.Exaile.Seek()

PS: Noob in Python here. Please make sure I didn't break anything. I did test it, but I had to do some manual copy-paste to get a proper diff from bzr.

Revision history for this message
reacocard (reacocard) wrote :

hm. why use HH:MM:SS instead of just a float of seconds? That's what the internal method uses and allows for better precision and simpler code.

Revision history for this message
Aly Hirani (alyhirani) wrote :

I guess I did make it more complicated than it should be. Here is an updated version of patch that uses a double rather than the tedious HH:MM:SS

Revision history for this message
reacocard (reacocard) wrote :

patch committed r2440

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.