Jump to content

A tool for tagging Emby content


VicMoore

Recommended Posts

VicMoore
Posted (edited)

This tool is a simple Emby HTML client. It can display, play and add tags to (and remove tags from) movies, TV series and TV episodes (called items hereafter). The GUI depicts an item as a picture with a caption below it. The caption text is the items name, with a background color. The color is its type. Gray backgrounds are folders and white backgrounds are files. Tags appear below the caption and have red backgrounds. Below the tags are Genres, and they have green backgrounds. The tool communicates with the Emby server via the published APIs.

To select an item, press the "ctl" key and click the item’s picture (left mouse button). Select the same item again to deselect it. Red borders distinguish an items selection. You can select one or multiple items.

Selecting an item causes a menu to appear at the top of the screen. With this menu you can adds tags and genres to or removes tags and genres from the selected items.

 In addition to tagging, you can play items. Just click once on an items image to play it. Suitable targets include movies, TV shows, audiobooks, music and photos. This tool includes simple players for each of these media types. The video player employs HLS and the HTML5 video tag. To play videos, your browser must support this capability.

In closing, this tool is a single HTML file. It 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.

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

image.png.e34284f9cdec15c5a1a20340613c7855.png

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

image.png.ad3b42396ead198b0580573a0a480633.png

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

image.png.5433ddf0884bab48d7cbfed0ad7c1747.png

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

 

image.png.88b7abec7c989257cd4d7291d50114ef.png

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

 

 

 

EmbyTagApp05.html

Edited by VicMoore
Made changes to the app
  • Like 10
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

VicMoore

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
Posted (edited)

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

VicMoore

Yes it will remove all of the items tags

 

Vic

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

VicMoore

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

 

Vic

Link to comment
Share on other sites

VicMoore

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

Happy2Play

Could there be a Select All option?

Link to comment
Share on other sites

VicMoore

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

VicMoore

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

VicMoore

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

VicMoore

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

Happy2Play

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

Happy2Play

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

VicMoore

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

Vic

Link to comment
Share on other sites

VicMoore

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

 

Vic

Link to comment
Share on other sites

VicMoore

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

Link to comment
Share on other sites

VicMoore

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