Feature Req. (Cause I'm like that!)

The Tuniac forum.
Post Reply
Sigurd
Posts: 36
Joined: Sat Jun 14, 2014 4:24 pm

Feature Req. (Cause I'm like that!)

Post by Sigurd » Thu Dec 08, 2016 6:29 pm

This is a fantastic program.

My hyper-demanding feature request of the day is a second search window.

I'd like a second window where every word would be part of a fuzzy search. If you knew the entry contained the words Father and Christmas but not 'Father Christmas' as a phrase, I'd like to have an option. I don't know if the query would be hard to set up. I don't know that you have any time, but that is what I want for Christmas, Santa! :)

I think it would be reasonable to have a separate window so you could, by default, treat each word as a component of the search not as a phrase. If there is a better way that would work too.


... brought to you by DBW! (Demanding Bastards of the World)

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Feature Req. (Cause I'm like that!)

Post by Brett » Sat Dec 10, 2016 12:22 pm

I have considered what to do with something like that before.

There is a bunch of solutions like maybe regex, but most standard users will likely never know how it works.
Probably the easiest to add, but I dont like the fact it will be difficult to learn.

Or just be smart about if 2 words are used, like Google does. If the words are found together put the result at the top, if they are split put them as secondary answers, plus you could do a bunch more smart things etc.
In reality Sqlite has all kinds of things built in that would make this work amazingly well and easy.
The never completed Tuniac 2 used sqlite for its db, Tuniac 1 uses a custom very basic db.

So to implement this the way I would want would mean switching Tuniacs db to sqlite.
And that scares me.
It would take me ages and it has taken 10 years to get Tuniac to this fairly bug free point, this change would likely reset that clock.
In 2025 I will still be finding random things I broke in the db changeover.
A more skilled dev would likely knock out the code in a few days and it would be bulletproof.
My day job is PABX's not computer programs, I learned how to read/write c/c++for Tuniac by working on Tuniac.
The reason nothing really changes is that Tuniac needs an actual programmer to make significant changes. ;)

Sqlite would speed up load times, speed up save times, prevent corruption if a single failed write eg power out during write, speed up lookups in the db, give advanced text searching, allow third party apps to use generic ways to read/write to Tuniacs db and likely a bunch more.
It is the answer, it just needs a motivated dev to implement ;)

Brett
Site Admin
Posts: 250
Joined: Sun Mar 28, 2010 12:36 am

Re: Feature Req. (Cause I'm like that!)

Post by Brett » Sat Dec 10, 2016 12:28 pm

PS you can create a playlist of a search.

1)Search for "Christmas"
2)Click the left arrow that appears near search box
3)a playlist will be created of your search
4)click that new playlist
5)search for "father"
6)Double click desired song to 'activate' the playlist.

Sigurd
Posts: 36
Joined: Sat Jun 14, 2014 4:24 pm

Re: Feature Req. (Cause I'm like that!)

Post by Sigurd » Wed Feb 08, 2017 4:00 am

Great minds thin alike!

:)


I see your point.

Post Reply