VicMoore 560 Posted January 8, 2023 Author Share Posted January 8, 2023 Jungle Jim, it's uses like you and moderators like Happy2Play and GrimReaper that have contributed so much to this tool. Thank You, Vic Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 8, 2023 Author Share Posted January 8, 2023 (edited) The latest code is attached below. Nothing major changed, just a bug fix. vic tool_2.1f.zip Edited January 8, 2023 by VicMoore Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 8, 2023 Share Posted January 8, 2023 Is it correct, after adding tags that emby is rescanning those files as if they were brand new ? Tagged to whole NCIS Collection and now emby is quite busy with re-scanning the intros. Quote 2023-01-08 16:03:53.773 Info App: Best title sequence for /volume1/video/Serien/Navy CIS (2003)/Season 11/Navy CIS - S11E22 - Blue.mkv is 00:00:54.4776119 - 00:01:22.4626865. Confidence: 0,91 Other improvement might be to show, if the tool is frozen or still processing the tagging. As this screens makes me wonder sometimes, when I add tags: Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 9, 2023 Author Share Posted January 9, 2023 Eigeplackter, you now have a progress bar on bulk saves. The code is below. Test it out. I did just a quick test. Thanks for pointing this deficiency out, vic tool_2.1g.zip Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 9, 2023 Share Posted January 9, 2023 God, I feel like a slave driver I'll check it out and come back to you. Link to comment Share on other sites More sharing options...
deiniol39 18 Posted January 9, 2023 Share Posted January 9, 2023 I've just used it, progress bar is really handy and worked fine for me.. Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 9, 2023 Share Posted January 9, 2023 Stress test running, but now I know what's happening. Nice job, I really like it: Would it be possible to refresh the results count ? Not in the bulk job, generally. When I filter in this special playlist for tag=false, it shows me some entries, but at the top it still displays the unfiltered count. Just me thinking about use cases ... start ignoring me, if I pester too much Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 9, 2023 Share Posted January 9, 2023 @VicMoore Sorry but stress test failed, can the tool run into a timeout ? Just came back and let script run while I was away, but the bar is still at 22% as it was 2 hrs ago. I'll let it run over night, just to make sure, but there seems to be a limitating factor somehow. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 10, 2023 Author Share Posted January 10, 2023 OK, I will figure out what is wrong. Could you press F12 to bring up the browser console and see if you see any errors? Don't worry about === Error SyntaxError: Unexpected end of JSON input Vic Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 10, 2023 Share Posted January 10, 2023 Stops pretty early as it seems: And at 22% it stops again, displaying this: 6 problems: Quote A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced. To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData. Note that for performance reasons, only the first access to one of the properties is shown. BETROFFENE RESSOURCEN 1 Quelle hls.js@latest:1 Weitere Informationen: Verringerung der User-Agent-Strings 5 Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery. Resolve this issue by updating the attributes of the cookie: Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use. Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests. BETROFFENE RESSOURCEN 5 Cookies Weitere Informationen: Erläuterungen zu SameSite-Cookies Link to comment Share on other sites More sharing options...
roaku 795 Posted January 10, 2023 Share Posted January 10, 2023 22 hours ago, Eigeplackter said: @VicMoore Sorry but stress test failed, can the tool run into a timeout ? Just came back and let script run while I was away, but the bar is still at 22% as it was 2 hrs ago. I'll let it run over night, just to make sure, but there seems to be a limitating factor somehow. Does the stress test tool have anything to do with how you will actually use this app? Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 10, 2023 Share Posted January 10, 2023 Yup, I like add lots of tags kinda regulary. CBS is „a monster“ but there are more i.e. Walt Disney with nearly 800, Netflix 750, so on and on. 1 Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 10, 2023 Author Share Posted January 10, 2023 (edited) 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 Edited January 10, 2023 by VicMoore Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 10, 2023 Author Share Posted January 10, 2023 (edited) I completely revamped the Collection and Playlist code. While in a playlist or Collection you can remove items directly. While in a media folder you can create a new collection or playlist or add selected items to an existing playlist or collection. Vic tool_2.2.zip Edited January 10, 2023 by VicMoore 1 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 11, 2023 Share 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 ? Link to comment Share on other sites More sharing options...
neik 837 Posted January 11, 2023 Share 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. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 11, 2023 Share 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 Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 11, 2023 Share 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. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 11, 2023 Share 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. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 11, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
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