Jump to content
GrimReaper
Message added by GrimReaper,

For Plugin version of the tool, go to:

 

 

Recommended Posts

Posted

Wow Neik thanks...   Yes this will help. I will play with it in Swagger ASAP.  I appreciate this help.

Vic

  • Like 1
  • 2 weeks later...
Posted
On 12/20/2021 at 1:20 PM, VicMoore said:

Wow Neik thanks...   Yes this will help. I will play with it in Swagger ASAP.  I appreciate this help.

Vic

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

Posted

Neik, yes I looked at it. I still don't get the data I need. My time has been limited and will be until the end of the year. I have been trying to finish creating playlists from selected items. I am also working on a few LiveTV/IPTV things.  I appreciate you checking up on my progress.  

Most of my time this Xmas was taken up by a bad reaction to the Covid Boster shot. I know now why so many people don't want to take it.

Vic

  • Like 2
Posted

@VicMoore I was looking at the filters you added and wondering if there was a way to filter by keyword. Here's my use case: I have songs with [Explicit] in the title of the song. I'd like to tag these so I can filter them out of my kids view. It seems the filter is only to filter on tags. Is that right or am I just doing something wrong? 

Posted

Hi Mbarylski...

You can filter on a "string."  You can also filter on Geners, Tags, and many other things. So you would filter on "[Explicit]" and then tag the results

Vic

Posted
42 minutes ago, VicMoore said:

You can filter on a "string."  You can also filter on Geners, Tags, and many other things. So you would filter on "[Explicit]" and then tag the results

Hmmm, ok. That's what I thought, but I can't get it to work. Any idea what I'm doing wrong?

Here's my filter:

image.png.ec1fe553a1140cdf2e64a1439f9187cc.png

And here is an example of a song with explicit in the filename and Title tag. 

image.png.7c3ceadc1b44b92b0e627b8a46a79214.png

image.png.11e7ef10f3abb2f2560036acea4bdf22.png

 

Posted

You should search on [Explicit] not "[Explicit]"

Vic

Happy2Play
Posted

Quick test on this I could only get Search string [Explicit] to work at Artist folder not Music folder.  So there appears to be a limit on the String search. @VicMoore

image.thumb.png.693694ab9159e773f10ccec2d76305dd.png

image.thumb.png.d741cfaf95b46107a1223131d2067707.png

Posted

Thanks for pointing this out. I will look into it ASAP.

Vic

Posted
6 minutes ago, VicMoore said:

Thanks for pointing this out. I will look into it ASAP.

Thanks! 

When the search runs is it going to search all the songs and bring back a list of songs with explicit in the Title? That's what I'm looking for so I can tag only the songs that are explicit, not full albums. 

And a select all once the search is returned would be good too if possible.

Posted

Yes that is correct.  I can't work on it for a few days. I have family obligations.  I promise I will get to it.

Vic

  • Thanks 1
Posted
22 minutes ago, VicMoore said:

Yes that is correct.  I can't work on it for a few days. I have family obligations.  I promise I will get to it.

Vic

Sounds good, happy new year!! 🎆🎊

VicMoore
Posted (edited)

I improved the GUI and added Playlist. You can now select media and add it to a new or existing Playlist. I have not done much testing, so proceed carefully.

For some reason the API for removing items from a playlist is not working.  I have opened a question about this on the API forum.  Hopefully I can get it fixed soon.

I am coding and watching football 🙂

Vic

EmbyTagApp21.html

Edited by VicMoore
VicMoore
Posted (edited)

I fixed a few bugs and finished the Playlist code. You can now remove items from a playlist.

If anyone uses the Playlist, please let me know if it works ok.

Vic

 

 

EmbyTagApp22.html

Edited by VicMoore
Posted
57 minutes ago, VicMoore said:

I fixed a few bugs and finished the Playlist code. You can now remove items from a playlist.

If anyone uses the Playlist, please let me know if it works ok.

Vic

 

EmbyTagApp22.html 198.87 kB · 0 downloads

Will test it and let you know

VicMoore
Posted

Thanks, I just corrected a bug. The latest code is below.

Vic

EmbyTagApp22.html

Posted

@VicMoore Any luck fixing the search bug for music?

VicMoore
Posted

Mbarylski, I have some time now.  Could you explain the problem to me again?  I tried the scenario you gave earlier and I thought it worked. So, I guess that I didn't really understand the problem. Sometimes, I am a bit slow 🙂 You are my top priority.

Vic 

VicMoore
Posted

Hello Happy2Play...

The search and filtering is all being done within Emby. All I do is form the URL for the API end point. That URL has Recursive set.  I will check again to make sure that I am not doing anything wrong with the API. Thanks for bringing this to my attention.

Vic

Posted
2 hours ago, VicMoore said:

Mbarylski, I have some time now.  Could you explain the problem to me again?  I tried the scenario you gave earlier and I thought it worked. So, I guess that I didn't really understand the problem. Sometimes, I am a bit slow 🙂 You are my top priority.

Vic 

No problem, thank you so much @VicMoore

So when I go to my Music in the tool, I see a list of all my albums. I click filter so I can do a keyword search on Explicit which I have in the filename of each Explicit song as well as in the Title. 

image.png.8bf7ee8137668439f3948b8d501bbc14.png

When I click on "Apply Filters" I get no results. It just says No Tags found even though I wasn't looking for tags, I was looking for a string of text within the Title or the song's filename. 

image.png.4757c86da7bd41aa79bd27a4f5763d7b.png

What I'd like it to do is pull back all the individual songs that have explicit in the filename or Title so I can select all those songs and apply an Explicit tag.

Happy2Play
Posted

@VicMoore @mbarylski I figured it out looking at the query.  From library level filter it has "Filters=IsFolder" and from Artist it does not.

music library query

Quote

http://localhost:8097/emby/Users/{userid}/Items?Recursive=true&ParentId={parentid}&Fields=Genres,ParentId,Tags&Filters=IsFolder&Recursive=true&SearchTerm=[Explicit]

query within Artist folder

Quote

http://localhost:8097/emby/Users/{userid}/Items?Recursive=true&ParentId={parentid}&Fields=Genres,Overview,Tags&Recursive=true&SearchTerm=[Explicit]

So from library you have apply "is not folder" filter also to get what you want.

image.thumb.png.bbd426ef251dda64b1c2567177396c1f.png

  • Thanks 1
Posted

That worked! Thanks @Happy2Play

So I get 530 matches. @VicMoore, any chance you could add a select all button? 😁

image.thumb.png.c440c255aca9bacb32439e37563f124b.png

VicMoore
Posted

There is a select all. Just press "shift" and click on any item.

Vic

  • Thanks 1
VicMoore
Posted

Thanks Happy2Play.  You taught me a new trick.  It's good to learn.

Vic

Posted
2 hours ago, VicMoore said:

There is a select all. Just press "shift" and click on any item.

Awesome! Thanks @VicMoore! Have I told you how awesome this tool is? 😁

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