Jump to content

A tool for tagging Emby content


VicMoore

Recommended Posts

This tool bulk edits the metadata of Emby movies, TV shows, home videos, and photos. It can edit in two ways. In both the user selects one or more items to be edited. The first editing method, edits all of the selected items in bulk, applying the same Tags, Genres, Watched, Locks, People, and Studios to each item simultaneously. The second technique applies a metadata editor to each item, one item at a time, and it allows the user to edit all of the item's metadata.

1. add or remove tags and genres,

2. add or remove locks,

3. set watched or unwatched,

4. play movies, videos, audio files/music, and display photos,

5. display a TV guide or a channel list for VirtualTV and LiveTV (play shows from the TV guide)

6. apply filters to movies, videos, music, photos, and channel listings,

7. add tags and locks to one or more channels,

8. create a new Collection or add items to or remove items from an existing Collection,

9. create a new Playlist or add items to or delete items from an existing Playlist,

10. play a playlist,

11. add and remove Players and Studios,

12. and edit all metadata for Emby items.

This tool is a single HTML file that includes HTML, CSS, Javascript, and jQuery. It has been tested on Chrome and Edge browsers (in a windows 10 environment). It may work on other browsers. I just don’t know.  This code is free for anyone to use. It's my give back to the Emby community. A few screen shots are included below.

--------------------------------------------------------------------------------------------------------------------------------------------

1_PM.jpg.ca7ef8f2068dfa7a491b8f5b91ac5c67.jpg

 

 

emby-1.jpg.6eab627c1546710fb88355012d3ec622.jpg

 

 

emby-2.jpg.209502ee3a8bda5b98b920cd3410f176.jpg

 

 

emby-3.jpg.8577ea046c61fd2c8b2d0948e20dde07.jpg

 

 

emby-4.jpg.00a6ec7bd1c6186469dec017aced4c59.jpg

 

 

emby-5.jpg.6bf5bd8e14594f4dab9c47afe1acaa8f.jpg

 

4_PM.jpg.f0bf362b9ba4c68aed3558d67c7e2546.jpg

 

 

emby-7.jpg.90cd749ec807a43129d2766f5f387970.jpg

 

 

emby_new_tool_38.html

Edited by VicMoore
Made changes to the app
  • Like 21
Link to comment
Share on other sites

GrimReaper
2 hours ago, rbjtech said:

... the more technical folks will love this utility and looking over your code it's appears to be an excellent basis for other developments and enhancements 👍

Following above @rbjtech's post from another topic regarding same tool, one of the directions I could see this evolving would be as a viable alternative to inbuilt Metadata Manager, other db fields could be manipulated just as well. Lack of core mass-edit has been an issue for quite some time, so much that number of users have resorted to 3rd party apps or various workarounds, being successful to a lesser or greater extent; since this would be tied directly to Emby, I'm quite sure lots of nerves could be spared and number of users could find solution to their issues. Of course, it would be highly dependent on Dev's willingness/available time to implement additional functions and, naturally, on community contributions to the same, and even without it it's still a great tool, kudos to @VicMoore

Link to comment
Share on other sites

I wrote this code just because I enjoy programming and learning. I was also planning to add features to simplify my Emby experience.

Vic

Link to comment
Share on other sites

Happy2Play

Save Tags and Delete Entered Tags works.

Should "Delete All Tags" remove the existing tags on selected item?

@VicMoore

Edited by Happy2Play
Link to comment
Share on other sites

Happy2Play
6 hours ago, VicMoore said:

Yes it will remove all of the items tags

 

Vic

It does not do anything in my case then or I am doing something wrong.  Selecting a tagged item then Delete all just refreshed the screen for me. 

But this looks like a issue in v2 as v1 delete tags does remove all tags.

  • Agree 1
Link to comment
Share on other sites

GrimReaper
1 hour ago, Happy2Play said:

Selecting a tagged item then Delete all just refreshed the screen for me.

Same behaviour observed.

Link to comment
Share on other sites

OK, I must have changed something. I will fix it tonight. Thanks for pointing it out.

 

Vic

Link to comment
Share on other sites

I just made a slight change to avoid any problems if you don't have the virtualTV interface plugged in. I have already added the code to fetch the virtualTV channel info from the Emby plugin API.  I plan to remove this code later. I am just experimenting with a different virtualTV GUI.

Vic

emby-tag-tool-03.html

Link to comment
Share on other sites

By that you mean "select all items", like select all movies or TV shows? Or would you want it on a season basis?

Vic

Link to comment
Share on other sites

Happy2Play
2 minutes ago, VicMoore said:

By that you mean "select all items", like select all movies or TV shows? Or would you want it on a season basis?

Vic

Select all items that are displaying so if one enters their Movies library one could select all and tag all at once. 

Link to comment
Share on other sites

OK, I will look into adding it. It will be a few days before I can finish it because I have some other projects that I need to finish.

Vic

Link to comment
Share on other sites

Happy2Play

No problem it is just an idea that has come up a lot around here, being able to select all instead of having to multi-select multiple items.

Link to comment
Share on other sites

I just about have it implemented 🙂   Please give me feedback on how to improve navigation and other things.

Vic

Link to comment
Share on other sites

The code attached has the "select all" button added. The button will appear when you are on a screen where Movies or TV series can be selected.

I just did simple testing.  The add and remove tag buttons will work on the selected items.

Vic

emby-tag-tool-04.html

  • Like 1
Link to comment
Share on other sites

Nice work.  Tested on TV and Movies.

I know users will want this expanded to all library content types.

Mixed Content type libraries will not open.

Playlists library will not open.

Music Videos library will not open.

Books library will not open.

No plugin library will open.

Edited by Happy2Play
Link to comment
Share on other sites

When you are looking at sub folder structure like Home Videos and Photos you may need a indicator that they are folders as you don't really know until you click the item.

 

Link to comment
Share on other sites

to open those use ctl click.    I have to go back now and make things consistent.

Vic

Link to comment
Share on other sites

If a folder name has a light yellow background then it's a folder.

 

Vic

Link to comment
Share on other sites

All content types do open and you can select and play/view the content

Link to comment
Share on other sites

Attached is the updated code. 

You navigate through your emby library by clicking folders to show their contents. Folders are distinguished by file names with a light gray background. Tags are shown with red backgrounds. Items such as movies, tv series, and episodes are selected by clicking with the ctl key pressed. I had to add the ctl key to distinguish navigating with clicks from clicking on an item to select it.  I also added some help text to the GUI.

The 'select all' button works and I find it very useful. Thanks HappyToPlay for the idea.

I have tested playing all content types and they all work. Remember that your browser must support HLS to play videos.

Shortly, I will be adding my jQuery GUI for virtualTV.  The plugin API is implemented and working. Currently I am just fetching the virtual channels. Soon I will be updating them with Tags and other info.  The idea is to make creating virtual TV channels easy.  It's my favorite and most used plugin. 

Vic

emby-tag-tool-05.html

Link to comment
Share on other sites

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