-
Notifications
You must be signed in to change notification settings - Fork 35
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 including categories for Bookmarking #62
Comments
I thought the playlist script was the solution for this, did it not work well for you and why? |
Nope, this is something else. I just want it to separate bookmarks for different files, whether its movies, tv shows or anime |
I see, how do you imagine the category works, to be intuitive. |
I am thinking you will have to make actual live folders called "tv shows" or "movies" were you will be bookmarking the respective things. Of course, a parent folder needs to be included to isolate it from other folders and files. Then you somehow need a way to link the bookmarks to those sub-folders in that parent folder to make it appear like it's showing up there. I know Windows got a symbolic link feature so maybe you would have to use that somehow but I am not sure how. Otherwise, I don't know if this is possible, but maybe create a new .txt files for the respective "tv shows" and "movies" section and inside of those respective .txt files you write the file you are trying to bookmark. But somehow you need a way to open up your preferred section while using MPV, but I am not certain how that would work. After all that's done, there needs to be a way to virtually show it in MPV, so you can select, delete, edit or add a new bookmark category. This is the rough scope of it. I hope I am making sense and apologize in advance if I don't lol |
No I am not talking about mechanics, I am talking about within mpv as a user. Im thinking in the conf file, you create the categories. Another case where we can assign f1 to a category f2 to a different category, etc. These are quick thoughts when brainstorming, let me know if you have other ideas so I can see which makes more sense Also, after creating categories, there must be a new filter to cycle between categories. |
Oh, wow. I am delighted that you are actually considering it. My bad. In that case, I feel like the first option would be the most intuitive as it takes less than a second to cycle through different categories but this honestly depends on the user. But if the user creates more than five categories, it could end up being redundant and tiresome. For that, it would be neater if the category showed up as virtual folders like a list so you can cycle through and enter them using your keyboard. The behavior would be similar to opening up a folder and seeing the files that are bookmarked in there. This script - https://github.com/CogentRedTester/mpv-file-browser can be used as reference for this feature. |
The problem with that is that it will make each category at least 3 steps away. I am still thinking on the best way of how to display categories, and how to make them easy to access. |
Yeah, you are right. In terms of accessibility it does suffer a lot. But I am sure there's a solution out there somewhere we've yet to find. In any case, if this gets implemented it would be quite nice addition. I thank you once again for considering my ideas. I feel like I have asked you many times for feature implements haha but I am glad you seem excited about them too. |
Guess you are no.1 customer for my scripts. Guess you use my scripts more than I do, and find the improvements needed. Keep the good ideas up👍 |
That's what happens when you make a batch of wonderful scripts. I use them so often that at times I don't even realize it, it's all muscle memory and things feel so wrong when I don't have them with me. MPV should definitely consider adding some of these by default. Thanks for the compliment. I'll keep on sharing if there's anything else in the near future. I think it's suffices to say that your scripts are my favorite :) |
If you need any help with testing when you eventually try to implement it. I'd be more than happy to lend a hand :) |
Groups functionality and other enhancements are now completed as part of SimpleBookmark 1.2 changes 6c29905. Things to know about:
To remove a group just go to the item and press How to access groups: You can access all items that are grouped by using These filters can be used anywhere in the config file, where the filter parameter is accepted, config sample.:
|
This is incredible. I can hardly believe this is a thing now. I even got an idea for improvements. I noticed you can remove in a batch but not add several items to group at once. Otherwise, this is exactly what I wanted. Thank you for your great work :D |
I just discovered serious bug, do not use search while adding to groups or keybinds. If you do it will clear your bookmarks. I'll have a look at it maybe by tomorrow to find a fix. |
Ah, so that's why I lost all my bookmarks just now. I thought I cleared them by myself on accident, but no worries. I always take backups so I lost nothing. |
I have thought of this but did not think it is of importance. |
It would be nice to complement the feature to batch remove entries at once and trust me it would help even more to save time. I also wondered if there's a way to show all the sections at once, like a list on screen. If you have many bookmarks section it could be good to know what sections you have. In some cases, it might even be easier to just pop it open and then scroll and click right into it. Altough, the shortcut option is already instantaneous, the only caveat is you have to remember the shortcuts. It's not difficult with five bookmark section, but if you have more, it definitely would be an annoyance, so just something to consider. Another way to make thing easier, like bookmarking to different sections. For example, if you press k to open "tv shows", then when you press the bookmark key CTRL+b, it actually bookmarks to "tv shows" and not to the unfiltered section of "all." Hopefully, I am making some sense and apologize in advance if I don't. Thank you once again :) |
Why not use
I'll see if this could work with the current logic of writing logs. |
Oh, that's what I am currently doing and it works nice with a few bookmark sections but if there's many more it can be time consuming and even get annoying. Altough, I guess the biggest advantage to having a list is you can see all your bookmark sections so you don't have to remember them, but you still have to use the arrow-keys to get to them but personally, I think that would work better in the long run. Because having more of those bookmark sections means you have to have more shortcuts to remember and more of those bookmarks to remember. That's why I think displaying as a list would be more suitable as you can see all your options and pick which you want more easily and effortlessly. |
Makes sense, I will consider it. |
That sounds like a good plan. I am looking forward to these updates whenever they might come. Take your time |
For now, I believe the issue related to losing logged items is resolved. 5565148 Also adding highlighted items to group is possible, either via cycle or via specific keybind. I have made major backend changes; it allowed me to enhance the functions overall and resolve some nitpicks I had. I will appreciate if you could test it and mess around with it and try to break it, so if there is an issue, I could fix it. |
I tried lots of thing and it didn't seem to break so far. So things are working as they should. But I will continue testing and let you know the second I spot something wrong. I also would like to propose another change. Right now if you add items to a group, say "tv shows", all those groups added items are shown in the "unfiltered" section of all. But I think it would be better to have them hide the group items from the unfiltered section as we already have a filtered option for groups, so if we need to manipulate the group items we could go in there. Because this way if you need delete to bookmarks, you can delete them safely without messing up your groups. |
I'll close this for now then. I also would like to propose another change.
Actually, changing the filter of 'all' is not the right way. |
Basically, if you bookmark now some movies and tv shows they will be all mixed up and there's no way of knowing what is what. But what if you could add in a category directly in MPV that is named "movies" or "tv shows", then you can choose where to place that bookmark, keeping it cleaner and neater as a result.
So the function would first allow you to create a virtual folder that you can access with the log manager, and these will be used for bookmarks.
It would be a super neat future to have
The text was updated successfully, but these errors were encountered: