Eigeplackter 90 Posted January 11, 2023 Posted January 11, 2023 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 ?
neik 873 Posted January 11, 2023 Posted January 11, 2023 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.
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 1
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 90 Posted January 11, 2023 Posted January 11, 2023 (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_ And it stoped at like 300-350 files, but definitely no RAM shortage. But at least the status bar went through to 100%, even though not sucessfully. Edited January 11, 2023 by Eigeplackter
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 90 Posted January 11, 2023 Posted January 11, 2023 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.
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 90 Posted January 11, 2023 Posted January 11, 2023 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.
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 (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 January 11, 2023 by VicMoore
Eigeplackter 90 Posted January 11, 2023 Posted January 11, 2023 (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 January 11, 2023 by Eigeplackter
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 OK, I will look at studio as a filter option. I added Artists, Albums, and Subtitle Codec, but have not tested them Vic
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 2
VicMoore 754 Posted January 11, 2023 Author Posted January 11, 2023 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 1
VicMoore 754 Posted January 12, 2023 Author Posted January 12, 2023 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 385 Posted January 12, 2023 Posted January 12, 2023 (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... Movies with "20th Century Fox" as a filter also looks good.. 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. Edited January 12, 2023 by Junglejim
VicMoore 754 Posted January 12, 2023 Author Posted January 12, 2023 Thanks so much JyngleJim for doing the testing. That was a big help. Vic
VicMoore 754 Posted January 12, 2023 Author Posted January 12, 2023 (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 January 12, 2023 by VicMoore
VicMoore 754 Posted January 12, 2023 Author Posted January 12, 2023 (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 January 12, 2023 by VicMoore
mixXxim 2 Posted January 12, 2023 Posted January 12, 2023 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
VicMoore 754 Posted January 13, 2023 Author Posted January 13, 2023 Good morning mixXxim I am looking into your request. Vic
Ninko 78 Posted January 14, 2023 Posted January 14, 2023 (edited) Hi @VicMoore, is it possible to filter content based on framerate (25fps, 30fps, etc) and by studios (Disney, etc)? Thanks Edited January 14, 2023 by Ninko
VicMoore 754 Posted January 15, 2023 Author Posted January 15, 2023 I am working on a new filter. Hopefully I will have a prototype tomorrow. Vic 1
VicMoore 754 Posted January 15, 2023 Author Posted January 15, 2023 (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. 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. 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 January 15, 2023 by VicMoore 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now