C-Poll Posted January 10 Posted January 10 Hi I'm writing a driver that can interpret the metadata part received from a device on the network. I'm using example 2 as the basis of the SDK that C4 provides on Github (https://github.com/snap-one/docs-driverworks/tree/master/media_service_proxy/MSP By Numbers/2-NowPlaying). I find myself stuck when I have to send the cover to the graphics, basically despite the URL being correct, the "UpdateMediaInfo" function only updates the Title Artist and Album part. Could you help me? Thanks Quote
Shoe Posted January 10 Posted January 10 If you reveal what you are doing folks might be able to tell you if a driver already exists. Quote
C-Poll Posted January 10 Author Posted January 10 Driver is for Atterotech Bluetooth D6IO I searched online but I didn't find it. The only thing I'm missing is the part about sending the cover to the graphic designer, could you help me? Quote
Shoe Posted January 10 Posted January 10 Can you show that bit of code and an example URL for the art? Quote
C-Poll Posted January 10 Author Posted January 10 Of course, this is the function that takes care of updating the Nowplaying function UpdateMediaInfo (T, AL, AR, URL) local args = { TITLE = T Or 'Title', ALBUM = AL OF 'Album' ARTIST = AR Or 'Artist', IMAGEURL = URL OF 'URL', } C4:SendToProxy(5001,'UPDATE_MEDIA_INFO', args, 'COMMAND' ,true) end and the image is this Thanks for your help Quote
Shoe Posted January 10 Posted January 10 If you are only testing with that try urlencoding it first. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.