-
Notifications
You must be signed in to change notification settings - Fork 75
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
Mark as Hot Clip from live view #389
base: main
Are you sure you want to change the base?
Conversation
…s as Hot Clip Fixes hd-zero#341
Please be aware that I am a total noob at C, so this is quite possibly shit code. |
Good job figuring that out as your first pull request, even though you claim to be "a total noob at C". Personally, I'd implement it differently as those two methods from If you ask me, you should better query the recorder app for the current file name and continue renaming this file (and its thumbnail) with that information. I know that this is a bit more complicated but that's the only safe way I can think of getting the actual current dvr filename (at least for now). |
Yeah, I felt kind of dirty doing it the way I did, I suspected as much. WRT querying the recorder app, iI had a look and it was pretty incomprehensible to me what is going on (Or maybe I am looking in the wrong place?). Furthermore, doing it like that would only work if we are currently recording, and not if we had stopped recording. Another idea I had was to keep basically the current implementation, but avoid calling |
I had a look at this and I could not see how to get this information :( |
Yep, recorder is a separate application that runs on its own. Therefore, it logs somewhere else, yet I also don't know where 😅 |
@evilC perhaps mark this PR as a draft until it is ready in order to prevent an accidental merge into main before you feel it's ready. |
Agreed. I have had to shelve this for the time being as it seems that it is a little more involved than originally thought |
A couple of days ago I had an idea for similar feature so it is nice to see that somebody is already doing it. :) |
The existing code will not work. My initial code did, but called |
Fixes #341
This feature allows the user to set a shortcut via the Input menu (Called "Mark Hot Clip")
When activated, it will: