After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791604 - rhythembox-client --seek fails at more than 2148 seconds
rhythembox-client --seek fails at more than 2148 seconds
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: Programmatic interfaces
3.4.x
Other Linux
: Normal minor
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-14 09:25 UTC by bugzilla.gnome.org
Modified: 2018-05-24 19:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rhythmbox-client: fix seek offset overflow (808 bytes, patch)
2017-12-14 17:15 UTC, gkrithi8
none Details | Review

Description bugzilla.gnome.org 2017-12-14 09:25:01 UTC
Behavior:

via the commandline the rythembox client can skip to a specific second via the command
  rhythmbox-client --seek

This works for seeking up to second 2147.
Any number beyond that skips to the next track, even if the track is longer instead of going to the correct position in the file itself (the track has over 4000 seconds)

my guess is that that the internal format is a signed 32-Bit Int that overflows.
2148 seconds = 2148000000 milliseconds -> cast to Int32 is -2146967296

which would certainly produce an error (seeking to a negative number)


If there is another way to either seek or skip forward in a long music file, please let me know.
Comment 1 gkrithi8 2017-12-14 17:15:51 UTC
Created attachment 365549 [details] [review]
rhythmbox-client: fix seek offset overflow
Comment 2 GNOME Infrastructure Team 2018-05-24 19:38:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1618.