sll552 / DiscordBee

MusicBee plugin that updates your Discord status with the currently playing track
Apache License 2.0
421 stars 31 forks source link

Allow the use of <year (yyyy)> tag natively #75

Closed Rings4 closed 3 years ago

Rings4 commented 3 years ago

Currently this tag cannot be used so we need to make a virtual tag. It would be great if this tag can be used natively so we won't have to waste an entire virtual tag just to display something MusicBee already has a tag for.

sll552 commented 3 years ago

This should be working? image

Rings4 commented 3 years ago

This should be working? image

Try adding an additional year tag to your flac file and making it eg. 2014-04-03. Discordbee will then not see the 2014 tag.

This is what DiscordBee shows: image

These are the actual tags: image

MusicBee has a <year (yyyy)> tag that it uses to differentiate between full formatted year tags and, well, the yyyy formatted year tag. Your plugin doesn't allow the use of this tag, which is why a virtual tag must be made instead: image

sll552 commented 3 years ago

Ok now I understand the problem. I was not aware that there are two tags that hold the year and thought you meant the "Year" one.

I will try to get it to work but this is a limitation of the API, because it doesn't get updated very often e.g. when such fields are added.

Rings4 commented 3 years ago

Ok now I understand the problem. I was not aware that there are two tags that hold the year and thought you meant the "Year" one.

I will try to get it to work but this is a limitation of the API, because it doesn't get updated very often e.g. when such fields are added.

Much appreciated. Reason for wanting the yyyy formatted version is to be able to put the year here since I normally don't have the total tracks number tag, and frankly I don't find it to be important information: image

That section isn't shown at all when the year is not 4 digits (either that or if it has non-numerical characters).

sll552 commented 3 years ago

I have added the missing fields, the field you were looking for is called "YearOnly" in the UI. I will do a release when a few other things are fixed but if you want to use it before you can grab the current version at https://ci.appveyor.com/api/buildjobs/i6i9m5k71hr21b6l/artifacts/DiscordBee-Release--149.zip

Rings4 commented 3 years ago

I have added the missing fields, the field you were looking for is called "YearOnly" in the UI. I will do a release when a few other things are fixed but if you want to use it before you can grab the current version at https://ci.appveyor.com/api/buildjobs/i6i9m5k71hr21b6l/artifacts/DiscordBee-Release--149.zip

Awesome, thanks a lot! I'm using your link, works great! This saves me a virtual tag that I can use for something else in the future.

Speaking of, any plans on increasing the limit of Virtual tags from 25 to 32?

sll552 commented 3 years ago

Speaking of, any plans on increasing the limit of Virtual tags from 25 to 32?

This should also be working with this version

grunge666 commented 3 years ago

I have added the missing fields, the field you were looking for is called "YearOnly" in the UI. I will do a release when a few other things are fixed but if you want to use it before you can grab the current version at https://ci.appveyor.com/api/buildjobs/i6i9m5k71hr21b6l/artifacts/DiscordBee-Release--149.zip

Hey, just wanted to say that I wanted to download this version since I also wanted to do the same thing (Using a "yyy" formated version of the year tag) but this link displays an access denied for me.

sll552 commented 3 years ago

Yes, thats because those files get deleted after one month, here is a new link https://ci.appveyor.com/api/buildjobs/ul9xsh79cf1b01ui/artifacts/DiscordBee-Release--157.zip