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 most likely no translated for the post!





Rename My TV Series...
 
Share:
Notifications
Clear all

Rename My TV Series 2.x - Application Log?  

Page 1 / 3
  RSS

kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 28, 2020 6:29 PM  

I ask because I was in the middle of adding a directory using (Rename My TV Series: 2.1.1 (Build 7), SQLite library: v.3.25.2, OS: Windows (64 bit), Windows 10.0, i386 (32 bit application) when the whole application just crashed (GUI disappeared).

Is debugging enabled in beta build?  Do Windows have .core files or equivalent (been out of the 'game' for a very, very, VERY,  long time)? 

 

Thanks.

 

FYI: I looked in in c:\program files (but I didn't expect it here since it's write protected), c:\, and %appdata% - I did not see a log.

This topic was modified 2 months ago by kilimar

ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 28, 2020 6:58 PM  

New topic for each issue or keep all issues in a single topic for a particular beta (2.1.1 beta)?

 

* Not responding when using AutoDetect (hangs for a while...maybe fork process so GUI is still responsive? or change mouse to buy?)

* Settings didn't get saved until I renamed %appdata%/rename* and when entering the next time, the changes show up!  Like as if a the crash kept the lock on the DB but RMTS didn't complain that it didn't have a lock?  Crash, Open Pgrm, Exit, Open Pgrm, no changes, Exit, rename appdata, Open Pgrm, saw changes.  WEIRD.

* Issues with Get Episodes, gets in a weird state where it doesn't work and you have to restart pgrm; then for the same show, Get Episodes then works again. Tried the Force Refresh button and got a "Not Responding" in the GUI for about 10-15 seconds but did not return anything.

* Drag & Drop a directory into Selected File pane doesn't work.

This post was modified 2 months ago 4 times by kilimar

ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 28, 2020 7:14 PM  

* I don't think the TV search changed but searching for "lagrange" gave me a bunch of unexpected results.  I verified that the "Enhanced Search Filter" was not selected.  I restarted the pgrm and the same thing occurred.    Also, during the search, "Not Responding"

* Sometimes I get no results for the same search.


ReplyQuote
Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1373
May 29, 2020 5:32 AM  

Thanks Kilimar!

It is always good to see some good testing / bug reporting.

  • RMTV does not maintain a debug log, not in the release version and not in the beta version.
    However, in Settings - Generic & AutoDetect Settings - Event Logging, there is the option to save a log of file renaming actions.
  • I have noticed the weird state you mentioned once, but ended up in that state by accident and wasn't able to reproduce it afterwards.
    It seemed triggered by using ffProbe, but like I said: I wasn't able to reproduce.
  • Drag'n'Drop a directory works fine here - what did you do to reproduce this?
    For example: was AutoDetect enabled? AutoSort? etc.
  • Saving the settings happens each time you close the preferences window.
    What can I do to reproduce this issue?
  • I tried a search for lagrange and it came back with normal results.
    Are you searching in a language other than English?
    When enabling "enhanced search" I get very clean results. When disabling this option, I get a lot of garbage (this is how the data providers return their data based on your search).

Anything to reproduce these issues would be very helpful.


ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 29, 2020 3:08 PM  
  • Search (re: lagrange):
    • In previous version was "Enhanced Search" the default setup but now it's a config parameter?   I wish there was a way to run both version at the same on the same computer for me to check without have to uninstall/reinstall.
    • I search in English, maybe I just never noticed it in previous search because I wasn't really in my integration and test mode and it did return similar matches rather than exact matches.  Or i didn't happen enough to bother me.
    • Is Enhanced Search just exact match?  If so, perhaps, call it Exact Title Match or something similar?  If not than the long text is okay. :)
  • Drag & Drop Selected Files.  Looks like RMTS may need to handle one or more special characters (my folder had a semi-colon) ( https://stackoverflow.com/questions/3869594/semi-colons-in-windows-filenames )
  • Weird Config State: That happened after the Crash and I have not been able to reproduce it.
  • RE: logging. 
    • I was looking for the debugging log so that I can see what's going on to report back when something isn't working, why it isn't work as I think it should, or when it crashes.
    • Enhancement Request: Renaming log, option to have it save in the same directory as were the episodes are located.
  • Enhancement Request: Double click on show title in result list  to "Get Episodes" and/or "Force Refresh".  If I just clicked Search or is clicking through the show title to find the correct show, it is quicker and easier to double click on the show title to get the episode data rather than clicking on Get Episodes or Force Refresh.  Slightly different than Automatically download all Episode info when selecting a TV Show; Quicker response time when clicking through show titles.
  • AutoDetect

 

 

This post was modified 1 month ago by kilimar

ReplyQuote



Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1373
May 30, 2020 7:28 AM  

Thanks for a very extensive test log!! I like it!! 👍 

  • Search

    - When you disable the enhanced search, you will get the raw results from the Data Provider(s).
      This will be the same as with the search seen in previous versions, with the only difference that there can be more providers (not just TVDB).
      So in the previous versions "Enhanced serach" did not exist.

    - You cannot run 2 RMTV versions next to each other - sorry. 😔 
      They would be using the same data directory, and the same database file. The database file for each version can be different, causing issues.

    - Enhanced search basically grabs the default search and removes everything that does not match your search keyword(s).
      The data providers tend to add guesses, causing a lot of weird results.

  • Drag & Drop; special characters (like the semi-colon) should definitely be avoided in filenames.
    Those are a recipe for disaster (often used for different purposes).
    As for the actual accessing of files, RMTV relies on the unlaying OS functions. Or maybe better said: the OS functions as they are provided to my developers environment (Lazarus Pascal). If I'd have to work around these exceptions, then I'd have to change some fundamental functions of the development tools I use, and I'd rather not do that, since it could introduce a whole bundle of other problems.
    This is also a reason why RMTV has the colon and such in the "special characters" list (per OS this list is a little different).
    On that note: macOS and Linux are much better at handling special characters.
  • Weird Config State: Please keep an eye on it. I wasn't able to reproduce it either, but would love to find out what happens in such a case.
  • Debug log: I'm not a Windows user, but under (for example) macOS a perfectly fine debug log is dumped when any application crashes.
    I'm not sure how Windows handles this.
    Creating my own debug log would not desirable either, as it would generate data that 99.9% of the users would never use or see.
    Catching a crash would not be desirable option either, I'd have to build a ton of exceptions into the application.
    So for now, I do not see this as an option.

    As for your request on the renaming log in the same directory as where the episodes are located: I can add this to my to-do list. 👍 
    I'll consider adding "save in original directory" and "save in destination directory" (some users have RMTV move their files).
    This may not happen for this beta version, but we will see how things go. 😉 

  • Double click show title: There is the option to disable the automatically download all the episodes (Setting - Show and Episode Info - Searching TV Shows - "Automatically download..."). You'd have to click "Get Episodes" of course after selecting a title, and this function is mostly thought for those with a slow Internet connection.
    On that not: Double click is something I have worked on before, but this comes with unexpected side effects, so I abandoned that idea. The double click would trigger 2x a single click event, so I'd have to write tricky some code around it to make it work correctly.
  • AutoDetect:
    - The lack of documentation makes it a little bit of a challenge to use it as intended. As for the "name" for this function: I had to come up with some short, and this is the best I could come up with 🤪  ...

    - Including the foldername in AutoDetect: this would not be a bad option. I'll consider adding this, it depends a little on how many people would use this or not, and how badly it would impact the AutoDetect function. I've added it to my "to-do" list ...

    - Thanks for the tooltip being wrong! I found that I accidentally entered a tooltip for the entire panel, which I have corrected! Thanks!

    - AutoSort vs AutoDetect: AutoSort would change the order of the "Selected Files" without changing the matched "Selected Episodes". When AutoDetect is enabled this would result in a mess, since AutoDetect matched episode and file, but the AutoSort would change the order again.

    - Enhanced Search does not impact AutoDetect (as far as I recall), it is only used for your own search. The search for AutoDetect changes a few times when trying to find certain words of a show title for example, to get a closer match.

    - I'm not quite understanding your last Enhancement request? Could you elaborate?

 

Thanks again for the extensive testing and feedback!


ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 5:28 PM  

Debug log: You don't have a debug compiler flag?   So that when you are debugging  an issue (or for a beta/alpha build) you'd get additional output?

Double Click: Interesting that the programmer has to figure out if it's a single or double click event.  I would think the OS reports the event since double-click timing are configurable by the user.  Also interesting that this program is written in Pascal (or is it?).  I didn't think anyone uses or teaches Pascal anymore.  But Pascal didn't last long in school because it was never widely used in production and kind of faded away; school wanted to teach practical languages.  Unfortunate, I like Pascal. :)  Most school now teach Java, Basic, C or older kids or Scratch or similar for young kids.

Running 2 RMTV versions next to each other : An additional item like the debug flag above where if it's a beta version, the program would use data_directory.beta (or command line parameter).  

w/r/t Enhancement Request: Possible to add right-click to include "search show title" and update the result list, if need be, leaving the text box alone?  Less clicking (copy, paste, search)

    • More Detail.  In AutoDetect, if the system finds multiple matches or single match w/o episode data, you have to right click-> copy detected show title -> paste in search box -> click search.  Instead add a single right click option to do all three fuctions.
    • Re-reading your post on AutoDetect, I guess the right click for that pane/copy show title was meant for the Hard Links rather than my usage of the feature.

While playing around with adding/editing Hard Link & AutoDetect I got this error:

Sorry -- can't reproduce.  I tried a multiple times. (debugging log would come in handy. *wink*).  I was adding blank entries without a show title and closing the dialog.  I looked in Window's event logger but didn't find any entries from the crash (or any previous crashes).   I just created a registry key: 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps

I will see if this generates any sort of crash dump file....the next time it crashes.

 

AutoSort vs AutoDetect: Perhaps the easiest solution to enable both would be to perform AutoSort first then AutoDetect for each group of added files?  Perhaps it already does that.   I guess it would be a bit more work to keep both list in sync in that when you sort you'd have to perform the same move in a second list.  Either that or rewrite the code so that it is an episode/file pair rather than two independent list?  All guesswork on my part. :)

 


ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 7:30 PM  

This is interesting.  https://docs.microsoft.com/en-us/sysinternals/downloads/procdump


ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 7:42 PM  

Issue: The text of the search boxes for Selected Episodes and Selected Files have really tiny font (like 1pt).  The search box for Episodes is fine.


ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 8:36 PM  

Comment: I have never used the Update/Add Metadata option but it would be good to have an example of the results from the format string like the example from the Filename Format.


ReplyQuote



kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 8:48 PM  

Comment: Noticed that there is a minimum window size for the main dialog as well as the settings.  And since they are pretty close in size, why not just make them all tabs?  Meaning just the main dialog with 4 tabs (Rename, Generic & AutoDetect, Show & Episode Info, & Renaming Rules).

Comment on Double Clicking:  I noticed that you have double clicking for the Episodes list, not sure how that would be different than double-clicking vs single-clicking in the TV Shows list.

Crash: Add the same episode twice by clicking on Add Episodes or double-clicking.

This post was modified 1 month ago 2 times by kilimar

ReplyQuote
kilimar
(@kilimar)
Eminent Member
Joined: 2 months ago
Posts: 27
May 30, 2020 9:27 PM  

Comment: enable/disable buttons.  I was thinking the program could have buttons that are enabled/disabled; ie gray vs black text. Doesn't seem like there are too many "disabled button" in the program.  Not needed, i guess.

Weird (Spacing disappears between Episode Number and Episode Title):

  1. Select a show (episode list auto loads).
  2. Delete text from TV Show search box and press enter.
  3. Click on an episode.

Comment: I think the option, "Clean Up Search Results" (Search Drop Down -> Search Options) is the same as "Enhanced Search Results".  If so, name them the same?

Comment: The options in the drop down for the TV Show search.  I wonder if it is needed or used often.  If not needed or used infrequently then remove it.  If used often then it shouldn't be buried and should be present in the main dialog.  Even one layer less would be better if used often; in that, the Search Options has it's own drop down list..

Enhancement Suggestion: Have list of favorite languages or have the commonly picked languages at top of language list.  So one isn't presented with a super long drop down list.  My personal usage, I only search in English.  I have not even used Japanese and I watch Anime.

 


ReplyQuote
Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1373
May 31, 2020 5:30 AM  

Very nice! Thanks for a excellent debug log / feedback! It is very much appreciated.
It also gives me the feeling that someone cares and is willing to do some work for it! 😋 

In response:

Debug: There is a debug flag for the compiler but this is intended for runtime debugging during development. If I'd keep this flag set for distribution, it would not do anyone any good since it would require a debugger like GDB or LLDB. Not to mention the tools and frameworks.

Double Click: The programming language used is very irrelevant these days. The same libraries used for all C variants are the same ones used by Pascal and other languages.

I actually like to think that Pascal should be one of the first languages one should learn. It is VERY similar to C, so the transition to one of the C variants (C, C++, C#, Objective C, Java, JavaScript, Swift, etc) should be easy, however Pascal is much more strict when it comes to what you can and cannot do. So it forces you to program more correct and more clean (you still can make a mess of it of course). Pascal is by the way still very much alive. Look at Embarcadero Delphi, Lazarus Pascal, and there are a couple more like that (the other ones are just not as good in cross platform development).

I always find the "most popular programming language" statistics amusing, as they are based on people asking questions about it.
I think these stats should be called what they are "languages triggering the most questions" haha .. maybe it is more of an indication that in those languages developers run into more issues (in part of course).

As for catching the double click: The control (a button for example) triggers a OnClick event. Some implementations have a OnDoubleClick event, but cross platform this proved to be not so reliable. Keep in mind: This project started as an experiment to serve Windows, macOS and Linux users, and I'd like to keep it that way. The chosen Platform should not be a limitation for software availability. That is why quite a few application out there are written in for example Java (which comes with a potential bundle of issues).

The list for found TV shows works differently than the list for episodes, the conflict I'm running into is with the functionality of recalling a previously used show (from the menu).

Beta flag for config directory: That is actually not a bad idea. I will keep that in mind in future versions. 👍 

SQL Error: this one we should keep an eye on. It has to do with the SQlite version, and I've tried as good as I can to make the queries as version independent as possible. I'll go through the queries quickly to see if I can find specific queries with "LIMIT" in it. I use this to limit the return rows to "1", so I do not get useless extra rows.

AutoSort vs AutoDetect: With RMTV people have all kinds of work flows. Some do one directory at ones, others just keep adding files over and over again. In that last case, AutoSort would ruin this functionality for those adding files with multiple drag and drops. It becomes increasingly more difficult to accommodate everybody's needs, so I'm slowly but surely trying to minimize the customizations.

Keep in mind: I just develop this little app for the fun of it, and do not get paid for it (the ads can barely keep up with the costs for webserver, domain names,  software licenses, certificates for signing, etc).

Micro text bug: Yep I was able to reproduce that! It seems Windows specific, but I think I can fix that in the next build. 👍 

It always amazes me that tons of people download my applications, but testing and bug reporting is a whole different story 😔 
Thanks for catching that! You're the first one to report this. probably an indication that people do not use this option, or are lazy in reporting 🤨 

MetaData Example: Good idea, however the data will match the data you'll see when looking at episode details (right click episode in 'Found Episodes').
Since most people will not sue this, and since this is a new feature in 2.1.x, for now I will not put too much effort in it.

Tabs for Main/Settings: I originally used tabs as you describe it. However the tabs take quite a bit of real estate space, and make the main window a little convoluted.
Users do not use (in my experiences) Settings all that often, once they are done configuring RMTV to their liking.
I have considered making a "cover sheet" which goes over the main window (in the main window when clicking "Settings") but this is not common practice for UI design, so for now I'll leave it as is until I find a better solution for this.

Double click episode crash: Can you send me what steps to do to reproduce? I did a quick test and RMTV did not crash.

Weird (Spacing disappears between Episode Number and Episode Title):  Thanks, I was able to reproduce this. The episode list becomes weird. I should clear the found-episodes list when clearing the search. Excellent catch! 👍

Naming Cleaning Cleanup Search results: you're right! I'll change that! "Cleanup" explains it better than "enhanced" anyway. 👍 
As for being burried in the menu: the idea behind that is that users will rarely need it, but it is still accessible from the main window.
I thought about adding a clickable text (like AutoSort and AutoDetect), but I'm just running out of space, and I do try my best to keep the main window clean.
So in short: I agree, but haven't found a good alternative yet.

Favorite languages: This is a good idea as well. I'd have to change how the menu works, but ideally, the previously used languages should appear at the top of the list. I'll look into that, but I will not give it the highest priority unless I find a brilliant quick fix. 👍 


ReplyQuote
Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1373
May 31, 2020 7:11 AM  

Micro text bug: Found the problem (related to scaling for HiDPI screens). 👍 


ReplyQuote
Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1373
May 31, 2020 7:19 AM  

Weird (Spacing disappears between Episode Number and Episode Title):  Solved - When initiating a new search the list with found episodes will be cleared before doing anything. 👍 


ReplyQuote



Page 1 / 3
Share: