LA1TV / Hyperdeck-JS-Lib

A javascript library for communication with the Blackmagic Hyperdeck.
MIT License
26 stars 8 forks source link

Next/Previous clip #59

Closed iamjohnbarker closed 5 years ago

iamjohnbarker commented 5 years ago

Hey - Love this module, thanks for making it happen!

I'd really like to see a Next/Previous clip functionality built in - Happy to create a branch/PR for it if you don't have time.

I'm thinking something like...

hyperdeck.nextClip() this.nextClip = function() { return this.makeRequest('goto: clip id: +1'); };

hyperdeck.previousClip() this.previousClip = function() { return this.makeRequest('goto: clip id: -1'); };

benjaminkay93 commented 5 years ago

ohh i like this idea a lot, but ive not looked at this thing in about a year properly aha

iamjohnbarker commented 5 years ago

Quick reply - Awesome :D

I'm happy to add the functionality (i've actually been using it locally for a few months now and it works nicely!)

tjenkinson commented 5 years ago

Great! Yeh please feel free to open a pr :)

On 3 Sep 2018, at 04:54, John Barker notifications@github.com<mailto:notifications@github.com> wrote:

Quick reply - Awesome :D

I'm happy to add the functionality (i've actually been using it locally for a few months now and it works nicely!)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLA1TV%2FHyperdeck-JS-Lib%2Fissues%2F59%23issuecomment-418047636&data=02%7C01%7C%7C5d803bf459294dbf37a608d6117ae429%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636715616835007108&sdata=OCSYYz2Mu5m8DJKS3EnqxS5Jlk5nIuLP9NZLUDqI0zA%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG-WUyjDcfb1T04XTGykogmwVNzU8G_ks5uXO5RgaJpZM4WXNUS&data=02%7C01%7C%7C5d803bf459294dbf37a608d6117ae429%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636715616835007108&sdata=o7hsWXBic6IPd672dWPKyNcRxQ58pJVDu40dF4CobD4%3D&reserved=0.

iamjohnbarker commented 5 years ago

Created: #60