Hello again Everyone! Unfortunately, I never managed to get the TuneIn AIR API working... But I'm at it again... Using the RML line in now and next as Tim previously suggested:
RN wget http://air.radiotime.com/Playing.ashx?partnerId= <id>&partnerKey=<key>&id=<stationid>&title=%t&artist=%a! ...doesn't update TuneIn for me... However, if I replace "&title=%t&artist=%a!" with the TuneIn example : "&title=Bad+Romance&artist=Lady+Gaga" DUN DUN DUN... For the first time, it's actually sending data to TuneIn... Of course, the problem is that it's sending Bad Romance - Lady Gaga as static info. But at least I confirmed that Rivendell and TuneIn are in fact, speaking... SO... does anyone have any suggestions to get &title=%t&artist=%a! working? Or what the proper formatting is? Ermina mentioned URL encoding and sanitizing in a shell script, but where would this be accomplished? James Harrison has a curl example that seems to do the same thing on the fly, but I'm not sure how to format the whole thing for artist and title. I can paste James first example just fine... But when I try to add artist, based on James' example, it won't let me paste the whole command into the RML line. So either it's too long, or the formatting is wrong? RN GET http://air.radiotime.com/Playing.ashx?partnerId=H8b4Z5iR&partnerKey=BSe2rUFkHN1Z&id=s258126&title= "$(perl - -MURI::Escape -e 'print uri_escape($ARGV[0]);' "%t")"&artist="$(perl - -MURI::Escape -e 'print uri_escape($ARGV[0]);' "%a")" I'm stumped... Thank you!!! Brandon On Wed, Dec 9, 2015 at 3:23 PM, Brandon <[email protected]> wrote: > Thank you all for the suggestions! I'm trying to keep everything as clean > and simple as possible without hacking a bunch of scripts together. > Because, as we all know, when something breaks, it's messier to fix and I > want to keep my installations standardized. > > Care to weigh in Fred? Any plans to support Tunein AirAPI natively? > > I still don't get why Tunein doesn't read the current metadata properly > and consistently. > > Thanks! > Brandon > > Brandon > Operations Manager > Subliminal Radio > t: (323) 364-3000 > f: (323) 364-6363 > m: (213) 839-7667 > subliminalradio.net > > Follow Us: > twitter <https://twitter.com/subliminalrdio> > facebook <https://www.facebook.com/subliminalradiola> > instagram <https://instagram.com/subliminalradio/> > #subliminalradio > > LISTEN LIVE <http://live.subliminalradio.net/>! (Custom iOS/Android apps > coming soon) > On TuneIN <http://tun.in/sfofo> NOW > > On Tue, Dec 8, 2015 at 8:14 AM, ermina <[email protected]> wrote: > >> Hey, >> >> $title and $artist must be "url-encoded". >> I use the following curl command as part of our shell script handling all >> metadata : >> curl -G "http://air.radiotime.com/Playing.ashx" --data >> "partnerId=myPartnerId&partnerKey=myKey&id=myId" --data-urlencode >> "title=$TITLE" --data-urlencode "artist=$ARTIST" >> >> $TITLE and $ARTIST are "sanitized" to be valid ascii strings sooner in >> the script. >> >> . e >> >> On 12/08/2015 05:19 AM, Brandon wrote: >> >>> Hey Gang, >>> >>> I've got several issues I'm working on right now, but I'll break each >>> issue into separate emails. >>> >>> Issue 1: Tunein AirAPI not updating >>> >>> I'm already embedding metadata with icecast2.conf and everything works >>> perfect, however tunein (both website and and Android app) don't read my >>> metadata. VLC and pretty much all other native clients read my metadata >>> just fine. Oddly enough, if you listen to the station with Tunein on >>> Sonos, it reads my the metadata (without artwork) properly. Contacted >>> Tunein support and they told me that their Tunein AirAPI is more >>> reliable than standard metadata embedding (not sure why?) and enabled >>> support for me. >>> >>> I modified the command below with my Tunein IDs/Key and pasted it in the >>> RML field in the Now & Next parameters. Rebooted Rivendell. But still no >>> song metadata or artwork in Tunein. Anyone else have the Tunein AirAPI >>> configured and working properly? >>> >>> I realize this is an old topic... But maybe something has changed in the >>> way Rivendell handles this? >>> >>> Thank you! >>> Brandon >>> >>> >>> On Sat, Aug 9, 2014 at 6:24 AM, Tim Camp <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Also I should say that the RML line in now and next can be used to >>> do this with this command >>> >>> RN wget >>> http://air.radiotime.com/Playing.ashx?partnerId= >>> <id>&partnerKey=<key>&id=<stationid>&title=%t&artist=%a! >>> >>> Cheers >>> >>> >>> >>> >>> >>> >>> >>> On Sat, Aug 9, 2014 at 8:16 AM, Bernardo J Mora <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Thank you Tim! >>> >>> in His service, >>> BJ Mora >>> >>> >>> On Aug 9, 2014, at 5:46 AM, Tim Camp <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Greetings,, >>>> I believe that if the album art is not available tunein will >>>> display the station logo >>>> or the picture of the DJ on air at the time if you have >>>> uploaded that info to them. >>>> >>>> Seems to me a edit/rewrite of the icecast2 RLM could be made >>>> to update the tunein API. >>>> >>>> Cheers >>>> >>>> >>>> >>>> On Sat, Aug 9, 2014 at 5:36 AM, Bernardo J Mora >>>> <[email protected] <mailto:[email protected]>> wrote: >>>> >>>> Has anyone listed their station at TuneIn, and accessed >>>> their API? I'm actually a little hesitant to do this as I >>>> suspect because I am playing more, um, eclectic music, the >>>> album art recognition will be WAY off. If possible I'd >>>> actually prefer to substitute our own logo for the album >>>> cover art. >>>> >>>> http://tunein.com/broadcasters/api/ >>>> >>>> in His service, >>>> BJ Mora for GraceRadio - on the air at www.graceradio.net >>>> <http://www.graceradio.net/> >>>> KGCE-LP/Modesto, CA >>>> "under construction" >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] >>>> <mailto:[email protected]> >>>> >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>> >>>> >>>> >>>> >>>> -- >>>> Tim Camp >>>> Director of Operations/Programming >>>> Dot Com Plus L.L.C. >>>> dba WZEW-FM WNSP-FM >>>> Mobile, Al. >>>> >>>> >>> >>> >>> >>> -- >>> Tim Camp >>> Director of Operations/Programming >>> Dot Com Plus L.L.C. >>> dba WZEW-FM WNSP-FM >>> Mobile, Al. >>> >>> >>> _______________________________________________ >>> Rivendell-dev mailing list >>> [email protected] >>> <mailto:[email protected]> >>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> >>> >>> >>> >>> _______________________________________________ >>> Rivendell-dev mailing list >>> [email protected] >>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> >>> _______________________________________________ >> Rivendell-dev mailing list >> [email protected] >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >> > >
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
