Skip to content
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

Update multicamMatchFrame to use new clipboard/plist API #190

Closed
randomeizer opened this issue Jan 8, 2017 · 8 comments
Closed

Update multicamMatchFrame to use new clipboard/plist API #190

randomeizer opened this issue Jan 8, 2017 · 8 comments
Assignees
Labels
Milestone

Comments

@randomeizer
Copy link
Contributor

No description provided.

@randomeizer randomeizer self-assigned this Jan 8, 2017
@randomeizer randomeizer added this to the 0.77 milestone Jan 8, 2017
randomeizer added a commit that referenced this issue Jan 8, 2017
* Partially-working update of multicamMatchFrame to use the archiver API
* Currently works correctly if a multicam clip is selected and the playhead is over that clip. If the playhead is elsewhere, it may seem to work but will not actually match the correct location in the multicam.
@latenitefilms
Copy link
Contributor

I only just realised that when you API-ified selectClipInAngle(multicamAngle) you're now just selecting the clip, rather than clicking the preview audio and video buttons.

This is fine for "Reveal Multicam in Browser", however, I feel like selecting the preview audio and video buttons is handy for "Reveal Multicam in Angle Editor". Reckon you could add these preview buttons to your API so that we can trigger them if "Reveal Multicam in Angle Editor" is triggered?

randomeizer added a commit that referenced this issue Jan 9, 2017
* Some additional fixes. Still needs work.
@latenitefilms latenitefilms modified the milestones: 0.77, 0.78 Jan 10, 2017
@randomeizer
Copy link
Contributor Author

I've added selecting the video preview. The main challenge with the audio monitoring button is that unlike video, it's a toggle, and clicking it may actually turn audio monitoring off. Also, personally, I'm not sure I would want or expect audio monitoring to change automatically - I often have my audio from an independent source, and switching that would be annoying. It's a tricky one.

@latenitefilms
Copy link
Contributor

Ah right - no worries. I didn't notice that the audio monitoring button is a toggle!

You could use the "Angle Switch Dropdown" (as opposed to the buttons) - as it has a "Monitor Audio" switch.

However, very good point - we probably don't want to toggle audio monitoring by default. Maybe we should have a menubar preference?

@latenitefilms
Copy link
Contributor

FYI: Monitor Audio Switch:

screen shot 2017-01-11 at 1 57 31 pm

@randomeizer
Copy link
Contributor Author

Yeah, thought of using the dropdown. I'm still not sure what the 'correct' setting to use would be though anyway. The other thing is, when you enable 'Monitor Audio', it doesn't disable 'Monitor Audio' on other angles. In general, it's pretty unpredictable.

@randomeizer
Copy link
Contributor Author

The other thing that happens currently is, if I'm in the project timeline and have a multicam selected, but the playhead is not over that clip, then activate our 'multicamMatchFrame', it's possible that the playhead in the Angle viewer is not over a valid clip in the active angle from the clip. When that happens, it will open in the Angle Viewer, then pop up a dialog box complaining that it can't 'Reveal in Browser' (which is true, since there is nothing to reveal).

I'm not sure if that's the most user-friendly response. Dialog boxes are kind of a pain, but on the other hand they do actually tell the user why something didn't happen.

So basically, its working as it should, I'm just not sure it's the best user experience. Thoughts?

@latenitefilms
Copy link
Contributor

Yeah, thought of using the dropdown. I'm still not sure what the 'correct' setting to use would be though anyway. The other thing is, when you enable 'Monitor Audio', it doesn't disable 'Monitor Audio' on other angles. In general, it's pretty unpredictable.

Ah, right. Yeah - let's just ignore audio monitoring switching then for now.

So basically, its working as it should, I'm just not sure it's the best user experience. Thoughts?

I agree that dialog boxes are a pain - really we should only ever use them when there's an unpredictable error (which is most errors at this early stage of development!) or when we need a user response.

Can we just go back to how it was originally, and check to see if the "Reveal in Browser" exists in the menubar (in all the different languages)? Either that or add some detection to make sure if a clip is selected that the timeline playhead is "over" it?

Maybe what we should do is re-work the menubar script and create a menumap.json for each language, or now that we're pretty good at reading plists, we could just read all the language plists and cache them in hs.settings?

Either way, yes, I think if "Reveal in Browser" isn't available in the menubar, then if someone presses a FCPX Hacks shortcut that relies on "Reveal in Browser", it should fail silently (i.e no dialog box - just an error message in the console).

@randomeizer
Copy link
Contributor Author

randomeizer commented Jan 12, 2017 via email

randomeizer added a commit that referenced this issue Jan 16, 2017
* Improved multicamMatchFrame() to handle some additional cases.
* Added Playhead:show() actually scrolling to the playhead if it is present.
* Added TimelineContents:playheadClipsUI(…) function to support finding the clips under the playhead, ordered top to bottom.
randomeizer added a commit that referenced this issue Jan 16, 2017
* fixed bug with deleteAllHighlights()
randomeizer added a commit that referenced this issue Jan 16, 2017
* Made some error dialogs which are not actual bugs into debug messages so that we can still debug issues if necessary, rather than annoying the user with a dialog.
latenitefilms added a commit that referenced this issue Jan 16, 2017
- Fixed bug in deleteAllHighlights()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants