Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!




RmTVs Feature reque...
 
Share:
Notifications
Clear all

RmTVs Feature request

16 Posts
2 Users
0 Likes
7,743 Views
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  

Hi Hans,

with tv show title getting longer and longer, I am sometime unable to determine from which provider the tv show data comes from.

Do you think you could add that little thingy between TV shows and episodes (like already present between episodes and selected episodes, and also between selected episodes and selected files ?

Thanks in advance and keep up the good work.

MfU, aka Eminent member 🤣 

This topic was modified 3 years ago 2 times by mfu

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Hi "burning-down-the-house" MfU 😊 

I wanted to add this to my To-Do list ...but since it's an easy going day today, I decided to add some torture to my day hahah 😜 

Check it out: implemented in 2.1.4 beta .... (link)


   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  

@hans

Wow that was quick !

Thank you 😀 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

You're welcome!! 😉 


   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  

Hi Hans,

hope you are doing well.

 

I am re-using this thread for a new feature request.

In the TV Shows search box, would it be possible for your app to ignore punctuation altogether, and just consider letters and numbers.

By ignoring, I mean:

A) if a user inputs any (dots, comma, hypen, colon etc), RMTVS would ignore it in its query (tvdb/tmdb websites do accept such querries).

B) Also if a user does not type those punctuations, RMTVS would still work (even if they're is actual punctuations in show name (S.W.A.T. or 9-1-1, for ex).

 

I believe it would ease finding more tv shows on first try.

Let me know if its feasible or not.

Take care

MfU

 

 

 

 


   
ReplyQuote


 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Hi mFu !!

How are you doing 😊 

Not a bad idea to ignore punctuation, but it will come with undesired side effects, since the actual search is not executed by RMTV but rather by the data provider (TVDB etc).

Example: S.W.A.T. ... 

Searching for S.W.A.T. will give the right TV show(s). However, searching for SWAT will not.

Since most of these data providers work with a database, most likely something like MySQL or MariaDB, you could use "%" as a wildcard.
For example search for S%W%A%T - however ... this will only return a (inconsistent) subset of what you would expect.

The only option that would bring up all SWAT variations is by disabling the "Cleanup search results" option.

Keep in mind though that this function is there for a reason haha ...
Give it a try and you'll know what I mean with the goofy results.

For example:

See how most of these raw results do not even have the phrase "SWAT" in their titles or even descriptions?
It is a total mystery why these results are even returned by TVDB (mostly, occasionally TVMaze and TheMovieDB return something goofy as well).

On that note:
The cleanup function removes everything that does not include the search term.
This is very rudimentary due to SQLite limitations. The "%" character can be used for any character(s) and "_" for a character.
Which means that if a result is filter by "%S%W%A%T%", then "S.W.A.T." would be valid, but "Seven Worlds, One Planet" as well.
If I would filter by using "S_W_A_T_" then "SWAT" would fail, but "S.W.A.T." would succeed.

Even if we found a perfect filter for S.W.A.T., then this filter will most likely not work for other search queries.

Unfortunately, there is no wildcard option to select zero or one character.

There is an option to add user defined functions for SQLite, however I never got that to work properly.

--- several hours later --- 🤦🏻‍♂️

I did manage to make a work around in the 2.1.15 beta ... (link)
Took me some work to work around the database and search results limitations.

Punctuation is not being ignore, so "S.W.A.T." will produce (if search cleanup is enabled) a list of all shows with "S.W.A.T." in it.
However ... if you enter "swat" or "SWAT" then the results will include S.W.A.T. named TV shows.
A little quick fix, but basically what it does, is look for results that have one or no characters in between.
So I basically try to match a pattern S?W?A?T where "?" can optionally be a character.
This may not be super refined of course, but I think it will do for now.
If you run into issues, I cam refine the citeria.

Let me know if this works 😊 


   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  

Hi Hans,

I just tried searching swat and 911 (instead of s.w.a.t. and 9-1-1) and it worked !

Great ! 😎 

the reason I was asking is a little lazyness on my behalf, and sometime, shows have colon (:) but (as you already know) its a forbiden character in windows. Sometime I try with semi colon (;) which does not work, sometime I have to guess if they put a hyhen, with or without a blank space.

 

The Beta version really has come a long way from stable.

Thank you again for your dedication.

Later

MfU

 

ps:Just tried the new feature with NCIS: Los Angeles and NCIS: New Orleans (without the colon) and those too worked. 🤩

 

I will continue to test the new feature on more "tricky" show titles, but it looks as though you nailed it once again.

 

This post was modified 3 years ago 2 times by mfu

   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  
Posted by: @hans

See how most of these raw results do not even have the phrase "SWAT" in their titles or even descriptions?
It is a total mystery why these results are even returned by TVDB (mostly, occasionally TVMaze and TheMovieDB return something goofy as well).

I am guessing it returns anything with a common letter (anything with a "s", anything with a "w", and so on (which is totally useless)


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 
Posted by: @mfu

I am guessing it returns anything with a common letter (anything with a "s", anything with a "w", and so on (which is totally useless)

Yep ... and/or maybe looks for wording in the Show description ... I haven't found any logic to it yet, and the worst seems to be TVDB (as usual).
That's why I made the cleanup function 😊 

Posted by: @mfu

I just tried searching swat and 911 (instead of s.w.a.t. and 9-1-1) and it worked !

Awesome! And laziness = convenience ... so I think it is a good thing to add.
While writing the reply yesterday, I was thinking if I needed to refine this a little to just punctuation being added. Right now I allow any character.
We will see how this develops in the future 😉 

Posted by: @mfu

Thank you again for your dedication

You're welcome, and thanks for the suggested feature. 
I always like challenges haha 😁 

Posted by: @mfu

The Beta version really has come a long way from stable.

Yeah, I probably should bring the current beta to release version.
I'm just dreading having to write about all the new features 😂


   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  

See RMTVS comments page Mar 7, 2021 - 9:43 AM

As an added benefit, I can now search a raw tv show title (ask.this.old.house.).

Less typing, more copy/paste 😎 


   
ReplyQuote


 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Haha, that is funny - I really did not expect that to work hahah ... cool though! 😂

I'm only adding characters, but maybe it is something to keep in mind if I want to change/improve that function:
- first remove all punctuation (which I currently do not do)
- look for any matching punctuation/space when filtering

I'll look into that today and see if it is even needed 😉 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Did some testing, and removing punctuation actually broke it hahah ... 🤣 
Some more tests shows me to probably just leave it as is.


   
ReplyQuote
 mfu
(@mfu)
Trusted Member
Joined: 3 years ago
Posts: 39
Topic starter  
Posted by: @mfu

Hi Hans,

with tv show title getting longer and longer, I am sometime unable to determine from which provider the tv show data comes from.

Do you think you could add that little thingy between TV shows and episodes (like already present between episodes and selected episodes, and also between selected episodes and selected files ?

Thanks in advance and keep up the good work.

MfU, aka Eminent member 🤣 

image

Hi Hans !

Long time no see

 

Regarding the everyday usage of the spacing tool, I am experiencing this.

Wanting to expand specifically the leftmost 1st section (TV Shows), I grab the tool and drag it right but it blocks after 1/2 inch or so.

Not nearly enough to achieve intended goal. To expand beyond point of blockage,

I need to play with the 2nd spacing tool (between 2nd and 3rd sections, Episodes and Selected Episodes respectively,

to make way for 1 section expansion.

 

Would it be possible that all 3 spacing tools be able to scroll left and right freely, without being blocked by neighbouring section's own limit?

Hopefully this capture help to makes sense.

 

Regards

MfU

This post was modified 2 years ago by mfu

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Hi MfU!

good to hear from you again 😊 

I'll have to look at that. Already did 2 attempts to take a look, but I keep getting interrupted haha ...
I know this has been a "thing" for me as well - it's a real pain in the [BEEEEEP] 😉 


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2654
 

Alrighty - had to resolve a few issue ... sorry for the late response.
There is no easy answer for this I'm afraid, so let's discuss ...

 

Again: the use of these "splitters" is a pain in the [beep] 🤣 
Without blocking, another section(s) may get too small, preventing one from reading the content there or prevent access to certain buttons.

Another thing is that the splitter only allows a section to be split in 2 pieces.

[    [ TV shows | Episodes ]     |     [ Selected Episode | Selected Files ]    ]

So in RMTV: One section splits shows and episodes, another section splits selected episode/files, and both these are in a 3 section.
I hope that makes sense haha ... I have a hard time explaining it, but I'm sure you see what I'm trying to say.

Now, to make things function better, I'd probably have to look and see how to change the layout.
Note sure if you ever used the previous version (v1), but there you see I used tabs to get more space.

My original flow was:

- Find and Select the TV Show
- Select Episodes and Files
- Rename

Obviously I had to find out that plenty users expect to use RMTV differently - hence the flexibility that has been build in to work in different ways.

I can still see TV SHOWS and EPISODES to be on top of each other with tab sheets.
This would give twice the width to find shows and select episodes.


   
ReplyQuote


Page 1 / 2

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: