Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError while storing float to a MP4 tag #2028

Closed
pschwede opened this issue Sep 10, 2016 · 1 comment
Closed

ValueError while storing float to a MP4 tag #2028

pschwede opened this issue Sep 10, 2016 · 1 comment
Labels

Comments

@pschwede
Copy link

BPM in MP4 doesn't seem to store float but integers instead. QL should do some rounding here.

=== SYSTEM INFORMATION:
Quod Libet 3.8 (development, 3142815)
Mutagen 1.35.-1
Python 2.7.12 (default, Jul  1 2016, 15:12:24) 
[GCC 5.4.0 20160609] linux2
Platform Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
=== STACK TRACE

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/quodlibet/qltk/edittags.py", line 802, 
in __save_files
    song.write()

  File "/usr/lib/python2.7/dist-packages/quodlibet/formats/mp4.py", line 127, in
 write
    values = list(map(int, values))

ValueError: invalid literal for int() with base 10: '95.490'

@lazka lazka added the bug label Sep 10, 2016
@lazka
Copy link
Member

lazka commented Sep 10, 2016

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants