Jump to content
GrimReaper
Message added by GrimReaper,

For Plugin version of the tool, go to:

 

 

Recommended Posts

Hawkwinter
Posted (edited)

Hello.

I'm getting "Signon Failed."

The password is the correct password to get into the server (I checked); as are the port and IP.

Can you perhaps walk me through proper usage? Hopefully I can then figure out what I did wrong.

I grabbed the newest version that I saw you attached. The html file at the bottom of page 25.


Edit:

The problem was that I copy-pasted the URL. If the server address includes the "http://" prefix, it doesn't connect. Removing it solved my connection problem

Edited by Hawkwinter
Nevermind...
VicMoore
Posted

it should work if the http://  is attached.  I will test this again.  Thanks for the info.

Vic

VicMoore
Posted

It works OK for me. Could you try it again?

Vic

  • Like 1
Hawkwinter
Posted (edited)
14 hours ago, VicMoore said:

It works OK for me. Could you try it again?

Vic

Oh. Weird. This time it worked.
I'm not sure what was stopping me last night then. It finally worked when I took away the 'http://', but this time, adding it back in, it worked fine.

I've used it a couple times today, and so far I quite like your little metadata tool. It's really quite good. It looks like it will save me needing to find another program I'd otherwise need to buy, or doing all my metadata edits one at a time / manually, through a mix of notepad++ and Emby's limited metadata editing menu. (I'll still end up using notepad++ for a few things I suspect, like adding dummy IDs for custom media shows as I import them, but your tool will be a big time saver).
I started on a custom CSS restyling in "Stylus"; and eventually I think I will turn that into a bunch of normal CSS file to stick in the folder with the .html, since I expect I will be using your tool quite a bit as I migrate my media library into Emby. I hooked it up to my custom colors css file I use for my emby server, so I can make it and my Emby look pretty similar.


Question:
1. If I want to select several shows, and then remove one of the genres or tags that they share (but not the others); is there currently a way to do that? It looks like no, but I might be overlooking it.

Possible Future Feature Request:
The possibility to select several items, and have it show all of the things they have that are the same (like shared genres / tags) in the metadata textboxes, for editing, rather than having it show the most recently clicked - like, when you ctrl+click a second show, it would look for matching tags and genres and blank out the ones that are not shared.

Anyways. I just wanted to say thank you for making this.

Screenshot included for an example of my current WIP re-skin.

👍

image.thumb.png.5e3873874e48ce9f0c5801da6f29b42e.png

Edited by Hawkwinter
VicMoore
Posted

Yes there is a way to do what you want. Select the "Add only new Genres to Selected Shows" option (radio button). Of course, the same option is available for tags, etc.

Thanks for the kind words and the CSS looks great.

Vic

Hawkwinter
Posted (edited)
8 hours ago, VicMoore said:

Add only new Genres to Selected Shows

Hmm. I tested it again with that radio button, and it seems it doesn't work - or I've misunderstood how to do it.

1. Choose two shows that share the "Fantasy" genre (to test).
2. Blank out the "Fantasy" Genre in the box.
3. Choose "Add only new genres"
4. Hit save.

When the page reloads, both shows still have the "Fantasy" genre I was testing removal of.

Logged out and logged back in just to see if maybe the page didn't refresh properly, and sure enough, it's still got the tag I tried to remove.

Example Usecases

  • A bunch of the automatic metadata is messy: "SciFi & Fantasy" as one tag (sometimes), sometimes just one or the other; Action & Adventure as one tag sometimes, sometimes just one or the other; I was removing the separate action / adventure tags and replacing them with the combined one, and for scifi and fantasy I was removing the combined one and grabbing just the one that actually applied, because I have enough of both that I want to keep them separate.
  • "Genres" I have no use for like "Animation; Anime;" (which aren't really genres) or "Drama," - which is basically everything on my server outside of the 'comedy' library - that I would like to be able to quickly purge from shows in bulk; / Tags like "family" or "children" that are (for my purposes) redundant with age ratings - etc.

I ended up fixing them one at a time from a couple hundred shows yesterday. your tool was still faster than using Emby to do it or manually editing nfo files, but if I could remove specific tags in bulk as easily as I can add them, that would be a time saver (or if I can figure out how to if it's already a thing and I'm just doing it wrong). I'm sure it or something similar will come up again - and I may have missed some as I haven't finished all my libraries or finished importing all my plex content yet.

8 hours ago, VicMoore said:

Thanks for the kind words and the CSS looks great.

Thanks!

When I've come up with a final CSS stylesheet I'm happy with; I can share it here if you want it, and then you can do with it what you will (or elsewhere if you don't and other people want it, and I can put it as an addon to use with  your tool and update it myself).

I'm also finding some stuff (Show title) when I change them, they don't update. It's not a thing I would normally do in bulk, so I just went and corrected that one in Emby directly - but since it has an edit box, I thought you might want to know about the nonfunctional input box. I haven't tested every field, but I did end up trying that one.

Edited by Hawkwinter
VicMoore
Posted

I  will test both of these problems today and fix them. Thanks for bringing them to my attention. Also, I will look forward to seeing your CSS changes.

Vic

Hawkwinter
Posted (edited)

Awesome! Thanks for the speedy reply!

I'll share the CSS when it's in a sufficiently finished state then.

I don't know how much of a pain it would be to implement, but a sort of 'pseudo' selected-item that's populated with the shared elements of all the others, that I could make changes to just for the purposes of replacing the respective boxes in all the individual items - would be awesome.

P.S. - When I've selected many items, what are the prev / next buttons for? Is it just to browse to find a an item with a set of tags to override all the other shows tags with or something similar? Is it just to step through things one at a time with the various "to this show" toggles?

Edited by Hawkwinter
chander421
Posted (edited)

Hi,

Thanks for this very useful tool! 

However, I can't lock any fields. I save but when I come back to emby or even via this metadata editor, no field is locked...

Is there something I don't understand in the use of this tool?

 

PS: i tested your other old tools and it appears that "emby_new_tool_16.html" indeed locked fields but it doesn't seem to work when selecting multiple titles, must be some kind of regressions with new versions...

Edited by chander421
Hawkwinter
Posted
23 hours ago, chander421 said:

Hi,

Thanks for this very useful tool! 

However, I can't lock any fields. I save but when I come back to emby or even via this metadata editor, no field is locked...

Is there something I don't understand in the use of this tool?

I noticed some fields not seeming to save as well. It seems some of the functionality has broken in one of the recent updates. Hopefully the next update by the creator will fix them.

VicMoore
Posted

Yes, you are right. I left in some test code that should have been removed. I will remove it today when I get home.

Vic

  • Like 1
VicMoore
Posted

OK, the problems are fixed, except that I think there is still a problem with locking.  It's not a bug, just a design choice that may be wrong. I am working on it now.

Please let me know if I fixed your concerns.  If not, let me know what's not working and I will fix it today.

Vic

emby_new_tool_21.html

VicMoore
Posted (edited)

I added a checkbox for saving all locks to each selected show.   Give it a try and let me know if this makes the locks work as expected.  I can change it if it does not do what you want.

Vic

 

 

 

Edited by VicMoore
chander421
Posted

Thanks for your edits! I can now lock selected fields for each items in the db but i can't figure how, for exemple, to select only a few movies and lock only titles for these?

While testing this great tool, I was also thinking that it would be great to be able to replace the title of foreign movies by their original title... 

 

Thanks for you help!

 

Hawkwinter
Posted (edited)
16 hours ago, VicMoore said:

Please let me know if I fixed your concerns.  If not, let me know what's not working and I will fix it today.

Vic

Yesterday (using the previous release) I also ran into an issue with it adding duplicate genres sometimes when I was using the "Add only New Genres to Selected Shows" toggle; but I wasn't able to reproduce the problem consistently to figure out why it was happening. Several shows (but not all of them) ended up with duplicates of a genre I added in bulk. I'll let you know if it still happens with the new release.


The problems I ran into that I mentioned seem to be resolved. Fields are saving again, and when I lock a field in a show, it is now locking it in Emby as expected.

I'm still unclear on how I remove one or more specific tags/genres from several shows simultaneously, without removing all tags. Your earlier post made me think there was a way to do that, but I can't seem to figure out how.

Example:
Say I have N (say, 25) shows in a library with the genre 'comedy'. It scraped those tags from tvdb or wherever. I think those shows are not actually comedies, and would like to remove the comedy genre (and only the comedy genre) from those 25 shows, and their other genres may vary so I don't want to set them all the same.

So I select all 25 of the shows that have the genre I want to remove... Then what? None of the three checkboxes in the UI seem to apply to this situation.

Remove all deletes all of the genres. Just tested. If I click "add only new" and then blank out the cell for one genre - (seems like the most relevant option?) and hit save, nothing happens at all. If I do it on "replace all" and then delete the genre I'm trying to get rid of, it gets rid of it, but it also replaces all the other genres on the other shows, so it's only an option if all the other genres / tags were identical to begin with.

One thing that's unclear (and concerning when using this tool) is which fields are *not* going to be altered. Like, Genres defaults to "replace all genres of selected shows". If I don't edit any genres, but instead edit tags, is it going to leave the genres alone? (I think it does, but there's no visual indicator or radio button or anything else communicating that to the user).

 

16 hours ago, VicMoore said:

It's not a bug, just a design choice that may be wrong. I am working on it now.

Was it that those edits only modified the single selected show like using Emby's built-in metadata manager, rather than modifying all of them?

I did find it an unintuitive design choice to have it load a single particular show when multiple shows are selected. I would have expected it to behave somewhat similar to the bulk editing in Plex, where it gives you a 'blank' set of metadata, only fills in the stuff that's duplicated across everything that's selected, and then if you change a box it changes it in every show selected. For tags and genres and people, any non-shared ones are completely unaffected. If you add one it adds it to all the selected media. If you remove one it removes them from all selected. I'm not saying it's the only way to go, but if you select multiple shows, you're probably expecting any changes you make to be made in bulk. And if you add a tag that exists already on some of the shows, it doesn't add any duplicates.

Removing them is easy because it puts each tag / genre / director / writer / collection / etc in a list with little 'x' next to them to remove them. Clicking the X marks that tag for deletion when you hit save

I haven't finished migrating all my stuff to Emby yet, so I still have my plex install (albeit not running) for me to gradually copy paste my metadata overrides from. Here, I'll spin it up for a minute and show you what I mean. It's one feature that Plex does pretty intuitively, but it looks like they've further limited which fields you can bulk edit since last time I used it.

image.png.8e3c97511a2ca3f5e225f2d3b48fc38b.pngimage.png.b38c7ca32fdbc931643279b0b56bdc53.png

Edited by Hawkwinter
Hawkwinter
Posted (edited)

Up until now my CSS edits I mentioned have been all done in Stylus in my browser, without editing the html file to add any new css classes or divs or the like. I'm going to start integrating them together today and I'll post up my resulting CSS and the html file when it's done. I won't change any of the underlying logic or functionality, just tweak the presentation a bit. I'll work from the current version. If you post any new functionality update, I can run some text file versioning stuff to combine the two after.

I haven't dug into how your underlying functionality works at all yet (but I do have a background in software development and a degree in Computer Science, so I'm not clueless).

If I'm overstepping let me know. I'm mostly making tweaks to make your tool more user friendly for myself, but I'm happy to share my work if you find it useful.

Edited by Hawkwinter
VicMoore
Posted

Hawkwinter,  thanks so much for all of the data and testing that you have done.  I will get started today on the problems that you have brought up.

Vic

  • Like 1
VicMoore
Posted

Good morning Chander421...

Could you explain how you would like to replace or switch titles.  I would like to help you if I can.

Vic

VicMoore
Posted

Hawkwinter, you are not overstepping. The code is free for everyone.  Many people have contributed and made the tool better software. Everybody has a say.

Vic

  • Like 1
Hawkwinter
Posted (edited)

So, I've been working on the above for the past couple hours, and it got me thinking.

Your "step through items to edit them one at a time without mucking with folders" approach is definitely more convenient than the built in functionality in Emby where you need to dig through folders or go through its fiddly process in your library page. And I think it's definitely worth keeping.

But it's really a "separate job" than performing bulk edits, and its options should probably be separated out from the bulk edit options, either displaying the options for individual edits, or the options for bulk edits, but not both at the same time.

Cleaning up and combining your original CSS (and your inline CSS) with my stylus overrides is taking a bit of time, but it's gradually coming along. I probably won't have the finished stylesheet done today, but it should be done in a couple days. It's got some bugs (like the change image screen not displaying properly), the appearance could use a bit of fine tuning, and the CSS still needs a lot of reorganizing - but I'm starting to be pretty happy with this responsive CSS layout.

 

screenshot.png

Edited by Hawkwinter
Hawkwinter
Posted
9 minutes ago, VicMoore said:

Hawkwinter, you are not overstepping. The code is free for everyone.  Many people have contributed and made the tool better software. Everybody has a say.

Vic

Glad to hear it. Just didnt want to come across as some unappreciative jerk acting like your work is bad and everyone has to do things my way or something similar. I appreciate the work you've done.

VicMoore
Posted

Yes, you are right. Along the way I broke removing tags.  I will come up with something to fix this oversight ASAP.

Vic

  • Like 1
Hawkwinter
Posted
4 minutes ago, VicMoore said:

Yes, you are right. Along the way I broke removing tags.  I will come up with something to fix this oversight ASAP.

Vic

I think long term, cleanly separating the "bulk edits" interface from the "individual edits" interface would be a really good idea. 

Hawkwinter
Posted (edited)

The current state of my WIP CSS of the current main-screen, without the edit-mode window open.

If you couldn't tell, a large portion of my personal media collection consists of either superheroes, or some manner of kung fu. haha

screenshot.png

Edited by Hawkwinter

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...