VicMoore 560 Posted January 5, 2023 Author Share Posted January 5, 2023 (edited) Thanks to Happy2play, you can now filter on audio codecs Vic tool_2.1a.zip Edited January 5, 2023 by VicMoore 1 1 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 5, 2023 Share Posted January 5, 2023 11 minutes ago, VicMoore said: Thanks to Happy2play, you can now search on audio codecs Vic tool_2.1a.zip 5.46 MB · 0 downloads Thanks for adding the option, but it's not showing any results for me ? Even though there should be content: Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 5, 2023 Author Share Posted January 5, 2023 Thanks Eigeplackter for testing the audio codec filter. I will look into why you are not getting any results ASAP. I don't actually do the filtering. It's done within the Emby server. I must be passing it the wrong information. Vic Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 5, 2023 Share Posted January 5, 2023 No rush Vic, appreciate your work and can wait if you ate out of time. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 5, 2023 Author Share Posted January 5, 2023 Eigeplackter, give this code a try. It works for me. Vic tool_2.1b.zip Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 5, 2023 Share Posted January 5, 2023 No sorry to report, no change in beaviour for me. Tried DTS and DTSHD and DTSHD-MA, cuz that's in the actual filename: Additionally the letter index on the right is not working for me, whichever letter I choose, I land at B Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 5, 2023 Author Share Posted January 5, 2023 What is the name of the audio codec given in Emby? Vic Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 5, 2023 Share Posted January 5, 2023 1 hour ago, Eigeplackter said: Thanks for adding the option, but it's not showing any results for me ? Even though there should be content: DTS is the output emby is showing me for that file. imho we could go for embedded track or title, would just like to tag all with a correct audio tag, as emby only seems to recognize the codec as DTS Even though there is DTS,DTS-EX,DTS-X,DTSHD-MA,… Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 5, 2023 Author Share Posted January 5, 2023 (edited) Eigeplackter, I added video codec and audio codec to the editor panel for easy reference, so you can see what Emby thinks the codecs are. This should help debugging. Vic tool_2.1d.zip Edited January 6, 2023 by VicMoore 1 1 Link to comment Share on other sites More sharing options...
kezzawd 0 Posted January 6, 2023 Share Posted January 6, 2023 Can I just say a big thank you - the ability to bulk edit tags is just what I was after to help manage available content for our grand kids - awesome job ! Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 6, 2023 Share Posted January 6, 2023 8 hours ago, VicMoore said: Eigeplackter, I added video codec and audio codec to the editor panel for easy reference, so you can see what Emby thinks the codecs are. This should help debugging. Vic tool_2.1d.zip 5.46 MB · 0 downloads Yeah so the output in editor says: But no matter which info I add in the codec field: UHD HDR10 Remux GERMAN DTS-HD MA 5.1 GERMAN DTS-HD MA 5.1 (Default) German DTS 5.1 DTS Result is still 0 Movies after applying the filter. I'm regulary using latest Chrome as browser but tried Edge as well. PS: Does it have to match exactly, or should searching for "DTS" be sufficient to get all entries, no matter if DTS-HD or else. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 Good morning Eigeplackter, I will dig into the code today and try to figure out why it works for me but not you. Do you have a very short video you can send me to test? vic Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 Hello Kezzawd... Thank you for the kind words. Vic Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 6, 2023 Share Posted January 6, 2023 29 minutes ago, VicMoore said: Good morning Eigeplackter, I will dig into the code today and try to figure out why it works for me but not you. Do you have a very short video you can send me to test? vic Hey Vic, define "very short" Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 (edited) Eigeplackter, try this code. I think the problem was that I didn't convert the codec name to lower case. Vic tool_2.1e.zip Edited January 6, 2023 by VicMoore 1 Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 6, 2023 Share Posted January 6, 2023 (edited) Yes, it works !! Nice job thank you very much. EDIT: Ohhh it only finds DTS, not Dolby Digital 5.1 or Dolby Digital Edited January 6, 2023 by Eigeplackter Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 OK, I will look into that now vis Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 Relace the editor.js with the code below. When looking at the codecs in the editor the string that the search engine is looking for is in [ ] brackets. That's what you need to enter as the search string. Vic editor.js Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 6, 2023 Share Posted January 6, 2023 Ahhh i see my fault. Thanks, now i got it. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 6, 2023 Author Share Posted January 6, 2023 Eigeplackter, the thanks all go to you. You helped me fix a bug in the code and improved the editor by adding the codecs. Now everyone can filter on audio codecs. Thanks, Vic Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 6, 2023 Share Posted January 6, 2023 (edited) Maybe some improvement for further versions Could the audio codec check only look for the 1st or default track ? It's no deal breaker, as I use CoverArt (which tags 1st/default language) and see, when there is a Dolby Digital overlay within the "dts" audio codec results. EDIT: On a 2nd thought, that could be just my personal wish, as other may sure want to tag ALL "dts" tracks no matter which language EDIT 2: Maybe I made a fault, but multiple selection screwed me over. I marked all titles with shift, excluded by single click unwanted movies and than clicked bulk. But nearly all movies seem to have gotten the "Dolby Surround 2.0" tag EDIT 3: The audio codec filters don't work for tv shows, looks like the tool is only searching the tv show entry, where there is no audio codec, but ignores all episodes. Edited January 6, 2023 by Eigeplackter Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 7, 2023 Share Posted January 7, 2023 (edited) Additionally I'd like the option to search for (audio) channels, so you could combine codec "dts" and channels "2" to finde the DTS 2.0 movies. EDIT: Filtering for FullHD (1080p) movies, returns 4K movies in list. Edited January 7, 2023 by Eigeplackter Link to comment Share on other sites More sharing options...
Eigeplackter 75 Posted January 7, 2023 Share Posted January 7, 2023 Handling question: Right now I've got 882 movies, if I "Search for tags: 4k/UHD,FullHD 1080p,HD 720p,SD 576p" it returns 879. So there are 3 movies I missed tagging a video format. But I can't seem to find a way, to show me those 3 movies. When I say "Has a tag = true" it shows the 879 again, when I set it to "Has a tag = false" it shows 0. I guess it's not just looking for the tag input field, but ignores all movies that have any tag. Tried using ! (for NOT) in "Search for tags" but seems as that is not the command I need. Link to comment Share on other sites More sharing options...
VicMoore 560 Posted January 7, 2023 Author Share Posted January 7, 2023 When you search for particular tags, the tool uses the Emby API to ask Emby to search for those tags. The tool just displays the returned results. I will play with the API and look for a way to do what you are asking. Give me a few days. Vic 1 Link to comment Share on other sites More sharing options...
Junglejim 351 Posted January 8, 2023 Share Posted January 8, 2023 This tagging tool seems to get better every week that goes by! This a must have for multiple reasons (smart pl/virtual tv/general lib tags/etc..)! Thanks @VicMoore for putting so much time into this great app. 1 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