"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
User avatar
Lunkhead
You're No Good
Posts: 8104
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/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 »

I just got a first Alexa enabled device today, one that supposedly doesn't listen to you until you push a button to cue 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 be 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
Jump
Posts: 2293
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
Pronouns: he/him
Location: Columbia, Missouri
Contact:

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

Post by Pigfarmer Jr »

I think that'd be cool. But I wouldn't use it. Not ever.
Evil Grin bandcamp - Evil Grin spotify
T.C. Elliott bandcamp - T.C. Elliott spotify

"PigFramer: Guy and guitar OF MY NIGHTMARES." - Blue Lang
User avatar
ujnhunter
Ice Cream Man
Posts: 1804
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 »

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
Hot for Teacher
Posts: 4158
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
Pronouns: he/him
Location: WASHINGTON, DC
Contact:

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

Post by jb »

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
User avatar
Lunkhead
You're No Good
Posts: 8104
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/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 »

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
Ice Cream Man
Posts: 1804
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 »

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.
User avatar
Lunkhead
You're No Good
Posts: 8104
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/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 »

So here we are years later, Song Fight! has gone https:

https://www.songfight.org/playlist.m3u

And the links in that file are also https. Would that make the skill workable? Also do you have some code you could share if you don't have time or interested in resuming work on that? Or pointers to documentation you used?
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

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

Post by roymond »

God, I love it when Sam's bored...
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Lunkhead
You're No Good
Posts: 8104
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/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 »

I think this is another case where fluffy deserves any credit for these technological advancements (like setting up SSL/https support).
User avatar
fluffy
Eruption
Posts: 11028
Joined: Sat Sep 25, 2004 10:56 am
Instruments: sometimes
Recording Method: Logic Pro X
Submitting as: Sockpuppet
Pronouns: she/they
Location: Seattle-ish
Contact:

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

Post by fluffy »

It's JB who checked the checkbox on the dreamhost panel. :)
User avatar
jb
Hot for Teacher
Posts: 4158
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
Pronouns: he/him
Location: WASHINGTON, DC
Contact:

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

Post by jb »

Don’t mess with the best
blippity blop ya don’t stop heyyyyyyyyy
User avatar
Lunkhead
You're No Good
Posts: 8104
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/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 »

I stand corrected. Thanks JB!
Post Reply