1

I used the tool mp3wrap to concatenate multiple .mp3 files into one. When playing the resulting file in VLC, the time length is shown correctly. Rhythmbox, however, only displays the time length of the first concatenated track.

Does someone know how I can make Rhythmbox display the length of the entire concatenated file?

enter image description here

1 Answer 1

2

The duration field is held locally in a file called rhythmdb.xml found in ~/.local/share/rhythmbox

It is not updated if you just play a track.

To force rhythmbox to re-read the track and update rhythmdb.xml you need to ensure rhythmbox is watching for new or changed files:

enter image description here

Restart rhythmbox and rhythmbox should after a while update the track information being displayed.

You can also force a update by changing the timestamp of the audio track

cd ~/Music/youralbum
touch *.mp3

If after the above it still doesnt recognise the duration change then this is actually a gstreamer bug/or a bug in mp3wrap. Gstreamer is the library that actually reads/writes audio tracks - not rhythmbox itself.

Gstreamer is dependent on reading the ID3 info - if its not in the expected location then it will only pick out the information it can find.

3
  • Thank you @fossfreedom! Watching my library was enabled. I also touched the file again. But the length is still displayed wrongly. Thus, would you suggest me to file a bug against Gstreamer?
    – orschiro
    Jan 20, 2016 at 16:47
  • 1
    @orschiro - yep - give that a try. However - try this answer as well - they say that the timestamp using mp3wrap could be wrong. askubuntu.com/a/504794/14356
    – fossfreedom
    Jan 20, 2016 at 19:10
  • That is useful to know. Thank you @fossfreedom. However, mp3wrap does the handling of many files better. I can use *.mp3 whereas for ffmpeg I need to name all files individually.
    – orschiro
    Jan 21, 2016 at 7:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .