The following pull request adds playing_now submissions on track changes, as well as submissions of MBIDs retrieved via TagLib# version 2.2.0.0, essentially closing #7 and #8. At the time I was working on these changes, ListenBrainz added support for player/submission client metadata and shows duration using duration or duration_ms, so I also implemented those. Built with VS 2022, tested with Windows 11 and MusicBee 3.4.8033.
The TagLibSharp DLL will be required when bundling the plugin as a release.
Things to keep in mind before merging:
TagLib# has some components that for some reason conflicted with the base .NET components, so I explicitly stated those where conflicts were found.
Version 2.2.0.0 of TagLib# also had inconsistent ways of handling split tags, so I had to use some workarounds for that. v2.3.0.0 is out now, so I'll have a go at working with that soon, but I'll submit this for now as the code is tested and known to be working.
The following pull request adds
playing_now
submissions on track changes, as well as submissions of MBIDs retrieved via TagLib# version 2.2.0.0, essentially closing #7 and #8. At the time I was working on these changes, ListenBrainz added support for player/submission client metadata and shows duration usingduration
orduration_ms
, so I also implemented those. Built with VS 2022, tested with Windows 11 and MusicBee 3.4.8033.The TagLibSharp DLL will be required when bundling the plugin as a release.
Things to keep in mind before merging: