Jump to content

A tool for tagging Emby content


VicMoore
GrimReaper
Message added by GrimReaper,

For Plugin version of the tool, go to:

 

 

Recommended Posts

59 minutes ago, Ninko said:

Ah right, maybe that's the problem, I'm doing this on a tablet, I'm not sure you can do a shift-click can you.

Once you apply the first filter (to bring up all of your episodes) they should all be selected by default. You can then click on custom filter and filter by whatever you need and then when the list pops up, they'll all be selected by default. That's what happened when I did this same thing, anyway.

 

I was remoting into my server machine from my phone, and had no way of pressing a shift key. 

Link to comment
Share on other sites

Eigeplackter

Is there a way to reduce loading times ?

When you load the movies (little above 1k it takes close to a minute- If I choose to jump to a specific letter, it seems as the whole movie list

is queried again. not just a view change.

 

Oh and mybe some cosmetics about line breaks, F...ullHD 1080p

 

image.png.dbe4ae65742ba09f598e75867177b13c.png

 

Link to comment
Share on other sites

VicMoore

Eigeplackter...

I do not see those delays here.  I have 6k movies and the load time is maybe 5 sec worse case.  When you click a letter all that happens is that the screen scrolls down.  Images are fetched only if they are showing on the screen. Check the console for RED errors.

Vic

Link to comment
Share on other sites

VicMoore

By the way, I am running the tool on an i3 computer with 4 GB of memory and windows 10 home.

Vic

Link to comment
Share on other sites

Eigeplackter
3 hours ago, VicMoore said:

Eigeplackter...

I do not see those delays here.  I have 6k movies and the load time is maybe 5 sec worse case.  When you click a letter all that happens is that the screen scrolls down.  Images are fetched only if they are showing on the screen. Check the console for RED errors.

Vic

Running an i3 with 16GB RAM.

Does your media reside locally ?

My Emby Server is running on a Synology (native, not container).

The NAS isn't busy CPU load is like 22%, RAM (8GB) is like 50% and there are no other jobs running.

HTPC (Wifi 6 AX) is connected with 573/487 Mbit/s to Mesh Access Point (WIfi 6 AX), which is connected to the router (Wifi 6 AX) with stable 288/400 Mbit/s.

Here's the output, no errors.

1st Click is main screen -> movies -> 28-85secs

2nd Click (Alpha) is jump to letter p -> 28.72secs (handstopped)

 

_____________________ Click _____________________ PointerEvent {isTrusted: true, pointerId: 1, width: 1, height: 1, pressure: 0, …}
tool.js:729 === Clicked id_array =  (2) ['I', '1']
tool.js:767 === Clicked Obj =  {Name: 'Movies', ServerId: 'XXXX', Id: '4', Guid: 'YYYY', Etag: 'b97ba7eb72908926e487c839b44498e0', …}
tool.js:883 === clicked obj =  {Name: 'Movies', ServerId: 'XXXX', Id: '4', Guid: 'YYYY', Etag: 'b97ba7eb72908926e487c839b44498e0', …} , options =  {width: 200, height: 300, name: 'Movies'}
tool.js:1105 === Top of page scroll position =  0
tool.js:369 === Display Page -- obj =  {Items: Array(1029), TotalRecordCount: 1029} , options =  {width: 200, height: 300, name: 'Movies', scroll_position: 0, url: 'http://192.XXX.XXX.XXX:8096/emby/Users/e20f3ac633ad4a…es=Movie&api_key=ZZZZZZZZZZZ'}
tool.js:462 === Scroll to =  0
tool.js:682 _____________________ Click on Alpha _____________________ PointerEvent {isTrusted: true, pointerId: 1, width: 1, height: 1, pressure: 0, …}
tool.js:694 === alpha clicked  P
tool.js:950 === Refresh Page
tool.js:963 === URL + filter_string =  http://192.XXX.XXX.XXX:8096/emby/Users/e20f3ac633ad4ad1a071304ce634f8b8/Items?Recursive=true&ParentId=4&Fields=DateCreated%2CIndexOptions%2CMediaStreams%2CProviderIds%2CSortName%2CTaglines%2CUserData%2CTags%2CGenres%2CParentId%2CPath%2COverview%2C&IncludeItemTypes=Movie&api_key=0f41bc5c66e540ff9df0428b10dae6a0
tool.js:369 === Display Page -- obj =  {Items: Array(1029), TotalRecordCount: 1029} , options =  {width: 200, height: 300, name: 'Movies', scroll_position: 0, url: 'http://192.168.4.10:8096/emby/Users/e20f3ac633ad4a…es=Movie&api_key=ZZZZZZZZZZZ'}

 

Link to comment
Share on other sites

VicMoore

Eigeplackter...

I am also running on Synology.  Even the Emby server is running on synology. I will look into your problem with delays.  I have noticed my NAS getting overloaded with image requests a few times.

Vic

Link to comment
Share on other sites

Hi

Today I wanted to use "bulk" to replace an existing "tag" and keep the others.
Either I'm doing something wrong or it doesn't work properly. Probably the first.  😉

 

Question how can I use "bulk" to replace an existing tag and keep all the others
Thanks a lot

tag ersetzen 01.jpg

tag ersetzen 02.jpg

tag ersetzen 03.jpg

Link to comment
Share on other sites

VicMoore

mixXxim...

You do it in two steps. First remove the old tag then add the new one.  

Vic

  • Agree 1
Link to comment
Share on other sites

Hi @VicMoore,

I'm still unable to filter ALL TV shows by framerate.

This is what I do:

1615105719_Screenshot2023-02-10113332.png.1935da06c7739056ce8ceeb528e21049.png

Click on TV Shows

223465397_Screenshot2023-02-10113445.png.d994c2655d9fd62fc3803e99116d8799.png

Select all and click Filter

324187541_Screenshot2023-02-10113512.png.db74603df0b93bd170a19d17c82d1703.png

Click Custom

1016233383_Screenshot2023-02-10113627.png.a2a6dc2158a7b5bb6877f50f7bc434c7.png

Type in my filter requirement

2040110322_Screenshot2023-02-10113739.thumb.png.064abe08f9ce3a5386749b18938d965b.png

Click Test - And as you can see, that's all that happens, it never completes or go past 1%

Am I still misunderstanding this?

 

Link to comment
Share on other sites

VicMoore

Hello mixXxim...

I am working on a new GUI and I will add your button suggestion.

Vic

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...
VicMoore

Everyone, attached is the new GUI that I have been working on.  Please test it out. But remember it has not been debugged yet. 

Let me know what you like and dislike.

 

Vic

New_GUI.zip

Link to comment
Share on other sites

Eigeplackter

I like the grey overlay.

image.thumb.png.1cdc94e0cc58c6a4f19bc459376062f4.png

What's with the OMDB id ? Is that yours, or should we obtain one for ourselves ? What's the purpose/use-case ?

 

Result box seems a bit small, or at least the scope. Cuts off the 2nd line:

image.thumb.png.8456a7c349df1a7c8954ccc220a3f851.png

 

Dashboard button should change color, when activated, as the filters do when one is configured.

 

I'd prefer tags and genre option to be closer to the top again, no need for me to scroll the overview to

reach the desired option.

3 "bugs" I've found:

(1)

Edit single movie

image.thumb.png.422bc54b4f1dbee843bb11dc115f4cea.png

Click Add and it overwrites your value

image.thumb.png.0feab548372dc6744c5a1fa392a596d5.png

(2)

Bulk edit doesnt seem to work yet, yes u said not debugged ^^

image.thumb.png.08b5d49174d1d4b3824267ee13a2664d.png

(3)

There's no cancel button in edit screen anymore, just return to previous, resetting all filters.

 

I think it would be cool to have the text-box (from bulk edit) for adding several tags even in editing single movies.

Should probably be adding a hint how to seperate single tags (, i guess but couldnt test)

image.thumb.png.1e589ab172df3acecc6a57b068e31342.png

 

That's all folks ^^

Go for it Vic 👍

Edited by Eigeplackter
Link to comment
Share on other sites

VicMoore

Thanks Eigeplackter... your comments are a great help.

I will start fixing things asap.

Vic

Link to comment
Share on other sites

VicMoore

hello Eigeplackter...  I have addressed most of your comments.  The new code is below.   The bulk save now works, except for the remove option.

Take a look at the snapshot capability while watching movies.  I also upgraded the image editor to make it easier to create your own Primary, Logo, and Backdrop images from snapshots.

Vic

New_GUI_2.zip

Link to comment
Share on other sites

Eigeplackter

Edit works incl. text box, tvm. 👋

Screenshot feature is pretty nice, but I'm wondering if it's working as intended.

Primary replaces cover aka poster.jpg and backdrop adds another fanart  ?

 

OMDB button w/o real functionallity, just opens another window, but nothing happens, even when pressing enter.

I dont have OMDB credentials.

image.thumb.png.d1525d76b8f5dd2c6b13f9481365ab9f.png

UX isnt consistent

Opening movie 1

image.thumb.png.21b02b810813ea6e6fe8a14659df293c.png

Opening movie 2

image.thumb.png.a346ca5913328b30376a3a62c721aabd.png

To me it seems like edit opens the desired movie, but the realtive position from the source screen (scrollbar)

is given to the new window. 1 example is a movie from the 2nd row of my library, while 2nd example is some way down in my library.

 

Still missing cancel button in edit mode, so filtered results arent lost, its working in the mentioned OMDB window.

 

 

Link to comment
Share on other sites

VicMoore

I will put a cancel button in tomorrow, and I will address your other issues as well.

To use the ombd code you need an id key.  You can get one free from the omdb web site.  If you have trouble getting a key, let me know.

 Eigeplackter, thanks for the help

Vic

  • Thanks 1
Link to comment
Share on other sites

Eigeplackter

I got an OMDB api key and saved it in the login mask.

Works, but only for titles where english and german title (my native language) is identical.

i.e. 1917

image.thumb.png.8fe0c59cfa34aeba66ec488f1cc65a34.png

 

i.e. Der Soldat James Ryan (OT: Saving Private Ryan)

image.thumb.png.f3354c914dabfbb8d53bab0836d77643.png

I guess you are using title, maybe should rework the api request to imdbID, if that's possible.

 

As a feature request, or maybe another plugin ?

I havent found a plugin in catalogue for this use case

Right now I'm used to shutdown my emby server on Synology and make a copy of my media directory, so that my custom images are backed up-

Now I see you implemented this nice little button in the OMDB screen

image.png.6b7338af6bb596908e40b528a1134fa6.png

Would it be possible to add such a button, best placed in bulk editor, and save the existing poster/cover to a user specified local location ?

Pleeeeeeease ?

Link to comment
Share on other sites

Happy2Play
12 minutes ago, Eigeplackter said:

i.e. Der Soldat James Ryan (OT: Saving Private Ryan)

I guess you are using title, maybe should rework the api request to imdbID, if that's possible.

That is the catch with OMDB as it is only English, that is a search box so vs a Known ID though.

  • Sad 1
Link to comment
Share on other sites

Painkiller8818
8 hours ago, Happy2Play said:

That is the catch with OMDB as it is only English, that is a search box so vs a Known ID though.

Maybe possible to search for sort title instead of title?

Link to comment
Share on other sites

Eigeplackter

That's german too in my case, only viable option would be the imdbID, but as the resuls will be english anyways... its alright. 👍

It's nice feature for native speakers or people who dont care if the overview is in english.

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