[jab] API Clip Status Monitor Request ignored

Post Reply
hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

[jab] API Clip Status Monitor Request ignored

Post by hoffman2k » Mon Mar 02, 2009 1:10 am

This goes a little outside the scope of an official bug, but its a genuine unofficial bug.

In the past, Live's API has been hacked and that allowed us to get stuff like clip names. This still works, except for getting the clip status (playing, stopped).
This changed as of Live 7.0.12. Now it doesn't work anymore.

While I realize Ableton can't fix a hacked API script, I do hope we can get a clue as to what changed.
The upcoming API and APC may have something to do with this, but if its just a different line we have to enter to make Live send out the status of clips, can you please tell us what it is?

It is a bug, because 90% of the hack is functional. It is something that changed in Live.

Michael Hatsis
Posts: 1807
Joined: Tue Nov 16, 2004 6:27 pm
Location: Here and There
Contact:

Re: API Clip Status Monitor Request ignored

Post by Michael Hatsis » Tue Mar 03, 2009 9:53 am

heres a link to the new clip object docs. I havent tried it yet as Im still mostly using 7.09...

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: API Clip Status Monitor Request ignored

Post by hoffman2k » Tue Mar 03, 2009 11:08 am

Any idea how this relates to the python code?
Or are the xml files part of a setup?

Coupe70
Posts: 1100
Joined: Fri Jul 23, 2004 7:25 am
Location: Mainz / Germany
Contact:

Re: API Clip Status Monitor Request ignored

Post by Coupe70 » Tue Mar 03, 2009 2:03 pm

do you think it will be possible to extend the hack to
new live features ? i'm thinking of this red box that
represents which bank you selected on the APC40.
would be nice to use it with other controllers
without Max 4 Live...

btw, i don't think Ableton will be very helpful BECAUSE
of the upcoming Max 4 Live. i hadn't be surprised if they
had completely blocked the hack.
Phongemeinschaft (Live-ElectroJazz / NuJazz)
Homepage - youtube - Like! :-)
Live 9 (32Bit), HP DV7, i5 2,53GHz, 8 GB RAM, Win7 (64Bit)

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: API Clip Status Monitor Request ignored

Post by hoffman2k » Tue Mar 03, 2009 2:30 pm

It should be possible to extend it. Getting the OSX hack working again would be a nice start.
Its not about emulating the APC, far from it. No rings needed if you don't actually need the screen.
We can get clip/track/scene names, we can adapt any grid to trigger clips, there are 60 clip colors in Live 8 instead of 47 in Live 7 which we can intercept too. The only thing not working is the clip status.
Which can be worked around with the hawtin hack. But its a bit clunky having to assign the track stop button on every track. And you'll have to do that every time you rearrange tracks.

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: API Clip Status Monitor Request ignored

Post by S4racen » Tue Mar 03, 2009 2:44 pm

I've never got the OSX hack working which has been my problem, i haven't got max so i was using a processing script to put my MicroKontrol into native mode and then the API was flowing into a processing object that displayed the values of the clips etc. I could easily get the native mode and visuall feedback from the MicroKontrol but i couldn't get the API stuff to work with my Mac....

Cheers
D

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: API Clip Status Monitor Request ignored

Post by hoffman2k » Tue Mar 03, 2009 5:36 pm

So as far as I can see, its stuff like:
playing_has_listener

changed to

playing_status_has_listener

There's probably more stuff that needs updating. I guess those xml files will help to identify what changed.
There are a few hacks for 7.0.14 for the monome I see.
This stuff would be a lot easier if I actually understood python. And they say Max is hard :lol:

scientist
Posts: 1338
Joined: Sun Aug 10, 2003 2:06 am
Location: seattle

Re: API Clip Status Monitor Request ignored

Post by scientist » Tue Mar 03, 2009 6:38 pm

edit: doh! sorry, just noticed this is in the bugs forum...post deleted.

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: [jab] API Clip Status Monitor Request ignored

Post by hoffman2k » Mon Mar 09, 2009 6:29 pm

Thread can be removed. The changes have been identified. Its down to 5 lines of code that need adjustment. The Monome community has been very helpful in solving this problem.

Post Reply