-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a functionality for when last accessed date and time is for a played file logged in history #50
Comments
I believe giving users customization options of how the list is displayed will solve this issue (similar to heading customization options). |
Yup, my thoughts exactly. So take your time. I'll be looking forward to all future updates :) |
Well, this is basically 1.3.0 beta. Too many improvements and backend changes. Users are required to update their conf file. Changes: added option to parse items list so that we can modify it however we want with tons of variables, e.g.: %number%. %name% instead of only modifying through pre-defined options added option to create and define variables for parse_list and parse_header added option to show date in the the list using any format as per lua documentation. targetting #50 added 'local' option for file_title_logging and made 'all' as the default since we can utilize the file title better now thanks to parsing list items added backward compatibility for reading the log file for dates that cannot be parsed and improved error handling. closes #58 improved search_behavior to support parsed dates and groups improved read_log_table so that now the title and the name are always presented correctly fixed list not displaying properly when path or name include special characters using a new function closes #51 and #52 removed most list settings that are no longer relevant because user can parse our own list now removed the option customize the date logging method and made a fixed format (YYYY-MM-DDT00:00:00) similar to ISO8601 that could be parsed by the script removed 'specific' search_behavior since the improved any search is way better removed prefer_filename_over_title "doesnt seem useful now since we can parse the text and show title whenever we want" trimmed down useless settings and some unnecessary variables and options some other bug fixes and hopefully didn't create new bugs o_o updated description of config to reflect the new changes
Hi @Kayizoku, the changes are done in 2044e43, however it is for SimpleBookmark, I will later migrate it to the other scripts. The update is very big, I changed tons of things. Along with the update this issue is resolved, you can add any date format to the list (you must update both lua script and conf). Very simple example: Example utilizing only "dt_"format%"%" (partially backward compatible with old dates saves in log) Advanced example utilizes both 0_dt variables and %dt_"format%"%. formatting (fully backward compatibile with old date formatting saved in log files)
Play around with this update, let me know your feedback |
There are aspects that works for me and others that don't. Here are bookmarks that have been untouched since last update. I didn't try to bookmark them again. However, here's one item I tried to bookmark again, as you can see it messes up the date and gives some weird values while excluding day. For some reason, this only happens after I have "%dt%" variable in the list_content_text. it won't retain the proper values for new items that are bookmarked. But the old ones are shown properly with the day and date. In any case, I appreciate implementing this, it really enrichens my experience with SimpleBookmark and I cannot wait to see it with the other scripts as well. |
Yes, this is the expected behavior, because this is the new format for date (in the log file date is saved like this). Try to log many new entries and use the below so you see the difference: Overall, this is the expected behavior which permits for date format customization. |
Ah, I see, then everything is working as it should, I tried using dt_format and that gave me the desired effect I wanted :) |
The title is self-explanatory. I want to know when I accessed a file last time. Thought it would be another cool addition to an already great script set
The text was updated successfully, but these errors were encountered: