WIP Beats Per Minute (BPM)
#1
Whilst adding extra dates to Kodi's music library I decided to add processing of TBPM as well.  Works with MP3 tags (v2.3/v2.4), Vorbis, ApeV2, mp4 and wma tags.  Can be used to sort into bpm order so slower to faster (or vice-versa) and can be used to filter.  Works in smart playlists so you can pick out tracks all at the same speed.

Maybe the odd DJ out there will like this ??  Other than that, I've seen it requested a few times and as I was adding some tags it seemed like an appropriate time to add another!  Just need to get it approved now.  If you can build from source, grab it from https://github.com/the-black-eagle/xbmc/...xtra_dates - includes original release and album release date processing.  Note that if you build it, it will upgrade your database but you will have to re-scan your library manually to pick up the extra tags.  This build will not prompt you to do that.
Learning Linux the hard way !!
Reply
#2
As long as there isn't a relevant setting/tag for mood this may be the next best thing to get the music right for a romantic evening :-)
Reply
#3
I'd find this very useful for my Electronic music. Will this be a PR soon?

Nice website that can be used to find the BPM as well

https://getsongbpm.com/
Image Image
Reply
#4
(2020-02-12, 10:43)docwra Wrote: I'd find this very useful for my Electronic music. Will this be a PR soon?

Nice website that can be used to find the BPM as well

https://getsongbpm.com/

Ha, wasn't aware of that site.  Looks like it has a nice easy API to integrate with a python addon/scraper.  I just used a plugin for Picard to set the bpm for some songs and then when I was adding the jsonrpc stuff, I just used random values to make sure it was getting/setting correctly.

As regards a PR, I'm hopeful that it'll be soon'ish' but you know how code goes with Kodi Wink  I don't really see the point of adding the bpm stuff separately from the extra date tags I'm adding as each addition requires an alteration to the music db and so a version bump (and the user to re-scan to populate the new values) so I'd rather just put it all in the one PR.

That said, all the date stuff I've done is working so I'm really just waiting for Dave to give it a look over and see if it's anywhere near or if there are still changes that he'd like.  Once the design is approved, I'll PR it to master but I don't want to do that without Daves input as I might be trampling on work he has in the pipeline.
Learning Linux the hard way !!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Beats Per Minute (BPM)00