"Alexa, play the latest fight on Song Fight!"

Use this forum for title suggestions, bitching at moderators, whining about phpBB, and grand ideas that will solve all of Song Fight's problems.
Post Reply
Lunkhead
Gorilla
Posts: 6195
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/reason/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

"Alexa, play the latest fight on Song Fight!"

Post by Lunkhead » Thu Sep 19, 2019 8:51 pm

I just got a first Alexa enabled device today, one that supposedly doesn't listen to you until you push a button to queue it to listen. I hope that is not a bunch of BS and it's actually not listening all the time.

Anyway, I was also listening to Song Fight so I thought, wouldn't it be cool to be able to play Song Fight on Alexa?! Would anybody use this though? It would probably a LOT of work to implement, and also they have some kind of certification/verification that we might wind up failing at the end of the whole thing which would make it all pointless. I have to read up on that more.
User avatar
Pigfarmer Jr
Galago
Posts: 833
Joined: Sat Mar 21, 2009 6:13 am
Instruments: Guitar
Recording Method: Br-900CD and Reaper to mix
Submitting as: Pigfarmer Jr, Evil Grin, Pork Producer, Gilmore Lynette Tootle, T.C. Elliott
Location: CoMo
Contact:

Re: "Alexa, play the latest fight on Song Fight!"

Post by Pigfarmer Jr » Fri Sep 20, 2019 5:30 am

I think that'd be cool. But I wouldn't use it. Not ever.
Evil Grin has an album: https://evilgrin.bandcamp.com/
Spotify: https://open.spotify.com/album/1Dcqs6LhwsoYS6EDGPhCCk

My solo Album: http://tcelliott.bandcamp.com/

Ad astra per alia porci - Steinbeck
(To the stars on the wings of a pig.)
User avatar
ujnhunter
Loris
Posts: 1423
Joined: Fri Mar 07, 2008 1:09 pm
Instruments: Bass, Keyboards, Crummy Guitar & Animal Noises (especially Donkeys)
Recording Method: Reaper 5.9x, Tascam FireOne/Behringer UMC202HD/Avid Eleven Rack/Line 6 UX2, Win 7 PC / Win 10 Laptop
Submitting as: Cock, Chth*.*, D.A.H. (Der Alter Hahn)
Pronouns: His Infernal Majesty
Location: CT, USA
Contact:

Re: "Alexa, play the latest fight on Song Fight!"

Post by ujnhunter » Fri Sep 20, 2019 6:04 am

I've tried to make a Skill to do this, the only problem I have run into and... now that I'm looking at my web browser... might not be an issue any longer? Is that Amazon required https:// links and Song Fight! was only http://. Have we been "upgraded" now? This may be possible now... as long as the URLs in the .M3U are https://

Edit: Nevermind. The boards are .net and https:// but the songs are all still .org and http:// so it won't work.
-Ujn Hunter
Photovoltaik - Free 6 Track EP - Song Fight! Liner Notes
Billy's Little Trip wrote:I must have this....in my mouth.....now.
User avatar
jb
Lemur
Posts: 3724
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Location: WASHINGTON, DC
Contact:

Re: "Alexa, play the latest fight on Song Fight!"

Post by jb » Fri Sep 20, 2019 7:01 am

Https works (we have Let’s Encrypt activated on the .org domain) but the scripts for creating the fights make the links http.

Would the Alexa skill work if we autoredirected any http request to https? Or must the links in the skill have the s in them?

JB
ujnhunter wrote:
Fri Sep 20, 2019 6:04 am
I've tried to make a Skill to do this, the only problem I have run into and... now that I'm looking at my web browser... might not be an issue any longer? Is that Amazon required https:// links and Song Fight! was only http://. Have we been "upgraded" now? This may be possible now... as long as the URLs in the .M3U are https://

Edit: Nevermind. The boards are .net and https:// but the songs are all still .org and http:// so it won't work.
blippity blop ya don’t stop heyyyyyyyyy
Lunkhead
Gorilla
Posts: 6195
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/reason/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: "Alexa, play the latest fight on Song Fight!"

Post by Lunkhead » Wed Sep 25, 2019 9:19 pm

ujnhunter wrote:
Fri Sep 20, 2019 6:04 am
I've tried to make a Skill to do this, the only problem I have run into and... now that I'm looking at my web browser... might not be an issue any longer? Is that Amazon required https:// links and Song Fight! was only http://. Have we been "upgraded" now? This may be possible now... as long as the URLs in the .M3U are https://

Edit: Nevermind. The boards are .net and https:// but the songs are all still .org and http:// so it won't work.
Oh cool, would you be interested in sharing the code you've written for that? I bet we could rig something up to try to resolve the last issue. I could at the very least cook up a way for the Jukebox to make .M3U files that have https links.

Did you write it as a Music Skill (per https://developer.amazon.com/docs/music ... l-api.html ) or just a generic skill?
User avatar
ujnhunter
Loris
Posts: 1423
Joined: Fri Mar 07, 2008 1:09 pm
Instruments: Bass, Keyboards, Crummy Guitar & Animal Noises (especially Donkeys)
Recording Method: Reaper 5.9x, Tascam FireOne/Behringer UMC202HD/Avid Eleven Rack/Line 6 UX2, Win 7 PC / Win 10 Laptop
Submitting as: Cock, Chth*.*, D.A.H. (Der Alter Hahn)
Pronouns: His Infernal Majesty
Location: CT, USA
Contact:

Re: "Alexa, play the latest fight on Song Fight!"

Post by ujnhunter » Thu Sep 26, 2019 6:14 am

I believe that any calls made from the Skill must be sent to an Https or else the build fails. I can't remember the specifics, I believe it was a custom skill that I was trying to make. Not sure if they had specific Music Skills at the time. Let me have a look and see what I can figure out. If you were able to create an .M3U file with a https link that contained a few songs with https links I could give that a try. Basically I would most likely be calling a Play "https://songfight.net/current.m3u" file that would be updated every fight, it would have to be the same file in the same location as the skill wouldn't be updated every fight, only the current.m3u file.

Edit: I haven't modified the Skill since 2017-12-07. Heh...
-Ujn Hunter
Photovoltaik - Free 6 Track EP - Song Fight! Liner Notes
Billy's Little Trip wrote:I must have this....in my mouth.....now.
Post Reply