Jump to content
GrimReaper
Message added by GrimReaper,

For Plugin version of the tool, go to:

 

 

Recommended Posts

Eigeplackter
Posted
7 hours ago, VicMoore said:

WOW Eigeplackter...  I have never encountered these errors before.  I will try to duplicate what's happening by adding a tag to several thousand media items. 

Is it possible that you maxed out your resources on your chrome browser?

Vic

I cannot follow you, what do you mean by that and how to check ?

Posted
On 12/20/2021 at 11:34 AM, neik said:

Hi Vic,

just had a look at the swagger API and found the endpoint "/Items/{Id}/PlaybackInfo" within "MediaInfoService" which gives you an json-output like this:

        {
          "Codec": "dts",
          "Language": "eng",
          "TimeBase": "1/1000",
          "DisplayTitle": "English DTS 5.1",
          "DisplayLanguage": "English",
          "IsInterlaced": false,
          "ChannelLayout": "5.1",
          "BitRate": 1536000,
          "Channels": 6,
          "SampleRate": 48000,
          "IsDefault": false,
          "IsForced": false,
          "Profile": "DTS",
          "Type": "Audio",
          "Index": 2,
          "IsExternal": false,
          "IsTextSubtitleStream": false,
          "SupportsExternalStream": false,
          "Protocol": "File",
          "AttachmentSize": 0
        },
        {
          "Codec": "DVDSUB",
          "Language": "ger",
          "TimeBase": "1/1000",
          "DisplayTitle": "German (DVDSUB)",
          "DisplayLanguage": "German",
          "IsInterlaced": false,
          "IsDefault": false,
          "IsForced": false,
          "Height": 1080,
          "Width": 1920,
          "Type": "Subtitle",
          "Index": 3,
          "IsExternal": false,
          "IsTextSubtitleStream": false,
          "SupportsExternalStream": false,
          "Protocol": "File",
          "AttachmentSize": 0

Maybe helpful for the audio/sub language filter?

 

On 12/29/2021 at 9:47 AM, neik said:

Have you had a look at it?
Have you been able to parse some information out of it to filter on that?

Vic, first of all congratulations to development of the app.
The many users speak for the quality of it.

Is it meanwhile possible filter on subtitle/audio language?
Just had a quick look at the version on post #1 and couldn't find anything but maybe I'm just looking the wrong way.

Posted

Hello Neik...

I use that API often in the tool when I play videos and it could be used to select items based on language. This endpoint would have to be called for each item. I will look into it.

Today I plan to add search for Artists, Albums, and Subtitle Codecs

Vic

  • Like 1
Posted

Good morning Eigeplackter

Sorry for the confusing English.  I believe that the problem you experienced was cause by the browser running out of resources, probably memory.  Try the bulk save again, but with fewer items selected.  I have tried several bulk saves with a hundred or so items selected and everything worked fine.  I will continue looking for a bug.

VIc

Eigeplackter
Posted (edited)
1 hour ago, VicMoore said:

Good morning Eigeplackter

Sorry for the confusing English.  I believe that the problem you experienced was cause by the browser running out of resources, probably memory.  Try the bulk save again, but with fewer items selected.  I have tried several bulk saves with a hundred or so items selected and everything worked fine.  I will continue looking for a bug.

VIc

Good morning Vic

I tried Netflix, "just"  655 files_

image.thumb.png.b1542ccce719f8a649b6965ade47dde4.png

And it stoped at like 300-350 files, but definitely no RAM shortage.

image.thumb.png.267c70857704bd0a5100b6e2e32f4c52.png

 

But at least the status bar went through to 100%, even though not sucessfully.

Edited by Eigeplackter
Posted

Hello Eigeplackter

I just tried a bulk edit on 700 movies and it worked OK.  When you bulk edit and it fails, what are you changing?  For example, are you adding tags, locks, or favorites?

Vic

Eigeplackter
Posted

Just tags so far, usually a max of 2 per item.

Nothing else. Oh and I'm doing it via Playlists, maybe that's helpful.

Posted
9 minutes ago, Eigeplackter said:

Just tags so far, usually a max of 2 per item.

Nothing else. Oh and I'm doing it via Playlists, maybe that's helpful.

What does it mean "doing it via Playlists?"

Vic

Eigeplackter
Posted

In the tool I don‘t enter movies, tvshows or collections. I go to playlists and choose one, as items are grouped there already for the desired tag.

 

 

Posted

Try bulk adding tags to movies to see if that works.  I will try using playlists.  By the way, I changed all of the playlist code in the latest code.

Vic

Posted (edited)

I just bulk edited a playlist with 700 movies and added a new tag to each. It worked OK.

Vic

 

I am using the attached code.

tool_2.2.zip

Edited by VicMoore
Eigeplackter
Posted (edited)

I use the same version, your latest release.

Tested to tag whole movie library (933 items) with "TEST":

 

no complete success. 

It tagged 905 items, searched for the tag in emby, but in the tool it showed alot more errors as just 28.

Removing the tag ran nearly perfect just 1/905 wasn't cleaned.

Log shows (for removing) mostly:

Quote

___ No Response Received ___
bulk.js:820 === Bulk Edit Finished === 920, len = 933

 

It's a step in the right direction, something seems to be broken within playlists.

PS: If you could add another filter option for "Studio" I can work around the playlist issues.

 

 

 

 

Edited by Eigeplackter
Posted

OK, I will look at studio as a filter option.   I added Artists, Albums, and Subtitle Codec, but have not tested them

Vic

Posted

The studio filter has been added but is untested.  Remember that I don't do any filtering in the tool. I just build the query string and send it to Emby. You may have to play with the filter to get it to work. 

Vic

 

tool_2.2a.zip

  • Thanks 2
Posted

Remember, when looking at the log files that the tool is fully asynchronous. When you tag 1000 items the tool quickly sends 1000 requests for adding the tag to items. The results from these requests do not come back in order. They can and will frequently come back out of order.

Vic

  • Like 1
Posted

I made a mistake with the new filters. I have corrected the problem but still can't get them to work.

Vic

tool_2.3.zip

Junglejim
Posted (edited)
9 hours ago, VicMoore said:

I made a mistake with the new filters. I have corrected the problem but still can't get them to work.

Vic

tool_2.3.zip 5.47 MB · 2 downloads

The Studio/Network filter seems to work fine here..

TV Shows with "Disney+" as a filter shows 18 which is right...

Screenshot_2023-01-12_19-34-17.thumb.png.bf1b2b57a04c539a94b30afabda1bbe6.png

 

Movies with "20th Century Fox" as a filter also looks good..👍

Screenshot_2023-01-12_19-38-09.thumb.png.2dbdfe6e3274be8f46dd4b2b19c5b6c8.png

 

Didn't have any luck with the music filters but I don't need that (all my music is totally sorted with embedded tags ;) ). Plus you can't even filter Artists/Albums within emby's webapp for music so that's not going to work!

But the Subtitle Codec works fine, "ass" filter Shows 13 which is correct.

Screenshot_2023-01-12_19-53-12.thumb.png.f2c7be76dfc0fecb825d6562140b1c9f.png

 

Edited by Junglejim
Posted

Thanks so much JyngleJim for doing the testing.  That was a big help.

Vic

Posted (edited)

I added an option to show a "clean" button.  When you click clean it will remove the periods in Titles and sort names for the selected media. It also capitalizes the first character of each word.  I can add other things as needed. I am just trying to clean up my library files.

Vic

tool_2.3.zip

Edited by VicMoore
Posted (edited)

I have been trying to improve Collections and Playlists.  I wanted to make them easier to manage and to create.  You can now remove items from each while viewing them. They are also separate from the metadata editor. Each now has a dedicated button. Just select a bunch of items and click the "collection" or "playlist" buttons.

Vic

 

tool_2.3b.zip

Edited by VicMoore
Posted

Hi,
First of all thanks for the great tool.
Did some testing with the tool today.
For me, among other things, it is of interest which films are locked and what is locked.
I noticed that under "BULK"

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

 

Manage Locks

Name LockedUnlocked
OfficialRating LockedUnlocked
Genres LockedUnlocked
Cast LockedUnlocked
Studios LockedUnlocked
Tags LockedUnlocked
Overview LockedUnlocked
Lock_All LockedUnlocked

 

can put. Great! But unfortunately I can't filter according to these points whether they exist or not.
Can you please add these dots under the "Is locked" filter.
That would be really great.
Thank you and best regards

mixXxim
and sorry for my bad english...google translation 😉

Posted

Good morning mixXxim

I am looking into your request.

Vic

Posted (edited)

Hi @VicMoore, is it possible to filter content based on framerate (25fps, 30fps, etc) and by studios (Disney, etc)?

Thanks

Edited by Ninko
Posted

I am working on a new filter. Hopefully I will have a prototype tomorrow.

Vic

  • Like 1
Posted (edited)

I added a new custom filter.  Select a folder, then select one or more files to test the filter against, and click filter then "custom". A new custom filter screen will appear.

image.png.1d68adc6886715ea176679f4b28d950c.png

The "prev" and "next" buttons allow you to switch between the files you selected for testing the filter against. The first filter column gives the names for the items in the selected Emby object. The second column gives the value for the corresponding name. The third column allows you to select the filter test to apply to each item (equal, greater than, less than, starts with, ends with, and contains). In the fourth column you supply the value you want to test against. Press the "test" button and the filter is processed, and each row is evaluated. If the test is "true" the corresponding row turns green. False evaluations turn the row red.

image.png.532e3a58df71e2bf460a086c9259e54a.png

 

When you are satisfied with the filter, you can apply the filter to the entire folder by clicking "Apply".

 

I have not tested this code very much.  I need everyone to let me know what doesn't work.

Vic

 

tool_2.4a.zip

Edited by VicMoore
  • Like 1

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