Jump to content

Album Tag Importer


Recommended Posts

Posted
53 minutes ago, user24 said:

Agree, now that I have tried it. I'm happy to revert back to your order. The GUI looks better in your original order. I just need to get used to the process

Let me think about that one a bit. I should have something workable this afternoon (CET time), as I'm AFAIK for the better part of today. 

Posted
6 minutes ago, GrimReaper said:

If you want, I can apply same logic to RELEASETYPE

Aaahhh - that explains it -  I was testing both RELEASETYPE and ROONALBUMTAG as if they were both multi-field. Now, from your explanation, it makes sense with the errors I was getting. Yes, normal use-case for me would be only one RELEASETYPE as a standard entity and various ROONALBUMTAG tags to suit anything and everything non-standard. So your usability assumption was correct. But, it may(?) be better if both had the same logic. (Reason - MusicBrainz release types system which I may want to use in the future - because I may be able to map them into  "omnibus"  tags???) 

I need to try some mapping experiments - I have an idea - but it will take a while to test it properly.

11 minutes ago, GrimReaper said:

I should have something workable this afternoon

No hurry at all - I need at least a full day uninterrupted to try the mapping... which will likely be tomorrow now...

Posted (edited)

The more complex the code introduced, the more likely it is some unexpected/unintended results will occur down the line.

That said:

v0.8

- Complete GUI overhaul (you won't be able to skip over Import Mode now 🙂)

emby_album_tag_importer.py

Edited by GrimReaper
  • Thanks 1
GrimReaper
Posted (edited)

GUI was getting overwhelmed with all the stuff crammed in, needed some breathing room.

v0.9

- GUI reworked

 

emby_album_tag_importer.py

Edited by GrimReaper
  • Thanks 1
GrimReaper
Posted (edited)

v1.0
- MUSICBRAINZ_ALBUMTYPE tag support added
- Export Log function added

emby_album_tag_importer.py

Edited by GrimReaper
  • Thanks 1
user24
Posted (edited)

V1.0 RELEASETYPE Mapping test...

Using Importer - Bulk Cleared all Album Tags in Emby (45 "The Beatles" Albums) - extremely easy and fast to do

Using Mp3tag - rewrote all RELEASETYPE tags as short single descriptors (somewhat similar to MusicBrainz):

image.png.6ba863bd4f67c927959e09da7c0eb458.png

Using Importer - mapped these tags to "omnibus" tags:

(first go at this - no problems)

image.thumb.png.aec6e686e836ab0a255a07a6a659c1f2.png

Using custom Group By - all Albums appeared in their relevant groups in Emby:

image.thumb.png.1f264c07cbe9e8913ffb96aea9404738.png

Note: Doing this manually in Emby, one Album at a time, (e.g.) 1min per Album = 45min. With Importer - probably 5min max!!!

Then, tried a scenario where I change my mind and want to split Soundtracks away from Compilations...

Using Mp3tag - not required now, as Albums have single descriptors already.

Using Importer - remap the tags:

image.thumb.png.19a4b86efcd54e415c4ab9bafbd6b3e8.png

Using custom Group By - these Albums then appeared in their new groups in Emby:

image.thumb.png.d8f0f2c53271f98911377b8b58de3a72.png

Time taken - perhaps 1-2min???

Only problem was I could not figure out how to "Save mappings". Clicking this did nothing. Clicking "Load mappings" opens up a window to access saved files - but I had nothing previously saved to try. Closing Importer and opening again (didn't shut down PC) retains the previous mapping settings. Perhaps I am missing a step in the process somewhere?

I'll give it another go later on... plenty of other combinations and permutations to try...

This is going to be SO EASY to properly 'album tag' my whole library and import into Emby now!

Edited by user24
  • Like 1
GrimReaper
Posted (edited)
4 hours ago, user24 said:

V1.0 RELEASETYPE Mapping test...

Using Importer - Bulk Cleared all Album Tags in Emby (45 "The Beatles" Albums) - extremely easy and fast to do

Using Mp3tag - rewrote all RELEASETYPE tags as short single descriptors (somewhat similar to MusicBrainz):

image.png.6ba863bd4f67c927959e09da7c0eb458.png

Using Importer - mapped these tags to "omnibus" tags:

(first go at this - no problems)

image.thumb.png.aec6e686e836ab0a255a07a6a659c1f2.png

Using custom Group By - all Albums appeared in their relevant groups in Emby:

image.thumb.png.1f264c07cbe9e8913ffb96aea9404738.png

Note: Doing this manually in Emby, one Album at a time, (e.g.) 1min per Album = 45min. With Importer - probably 5min max!!!

Then, tried a scenario where I change my mind and want to split Soundtracks away from Compilations...

Using Mp3tag - not required now, as Albums have single descriptors already.

Using Importer - remap the tags:

image.thumb.png.19a4b86efcd54e415c4ab9bafbd6b3e8.png

Using custom Group By - these Albums then appeared in their new groups in Emby:

image.thumb.png.d8f0f2c53271f98911377b8b58de3a72.png

Time taken - perhaps 1-2min???

Thanks for extensive testing, glad it's working with no apparent issues.  👍

4 hours ago, user24 said:

Only problem was I could not figure out how to "Save mappings". Clicking this did nothing. Clicking "Load mappings" opens up a window to access saved files - but I had nothing previously saved to try. Closing Importer and opening again (didn't shut down PC) retains the previous mapping settings. Perhaps I am missing a step in the process somewhere?

Mappings are always saved into the small helper file (mappings.json) in the same folder as the script; the file is shared between RT and ROON mapping sessions. Pressing Save just writes the current mapping rows into it. If you want, I could call a file picker on Save, just thought to save few mouse clicks there. If you want multiple mapping sets - just copy current mappings.json and rename it for future loading. Or I could add "Mappings saved" msg in the modal upon successful save, so it gives an indication that pressing that Save button actually caused something to occur?

On Load mappings, It calls for a file picker, reads any json file you selected, and overwrites mappings.json with whatever file you loaded. The loaded mappings become the new saved state.

Edited by GrimReaper
GrimReaper
Posted (edited)

v1.1

- Mapping Save/Load status messages added

- Delete all rows button added

- Mapping input field is a combo-box now (you can both type-in or use dropdown; you'll get suggestions as all unique tags collected based on current album selection)

emby_album_tag_importer.py

Edited by GrimReaper
GrimReaper
Posted (edited)

Was playing a bit with colors to better indicate workflow/selection, tell me which version works better.

v1.1b

emby_album_tag_importer.py

 

 

Edited by GrimReaper

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...