Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

muxtape downloader / m3u enabler

This script adds 'download' links to any song on muxtape and gives a link to an m3u to play all songs in an external player.

I edited an existing muxtape downloader script, adding to it the ability to generate an m3u (winamp playlist file) to play the files from an external player rather than via muxtape.com's flash player.

Just look for the 'download m3u' link in the upper right on any muxtape page after installation. Click it and whatever mp3 player you've got installed should begin streaming the songs.

Very helpful for those who hate Flash's tendency to take down their web browser.

UPDATE: I also just realized that if you use audioscrobbler/Last.fm with whatever player the m3u loads in, this will have the side-effect of having your muxtape music tracked.

UPDATE 4/27: added tracknames to the m3u playlist, and filenames to copy/paste into the save-as dialog when saving files.

UPDATE 4/28: fixed a bug where the generated playlist and download links were incorrect, as well as some muxtapes where the links were 'undefined'.

UPDATE 5/4: Moved download links to separate divs so the songs won't start/stop playing whilst trying to save them.




Jul 6, 2008
nyquildotorg Script's author

Looks like the muxtape folks have taken steps to prevent this sort of thing from happening anymore. Oh well.

 
Jul 1, 2008
Bouphecr Scriptwright

"Muxtape has changed their CSS-layout. The class names of the song-container has changed from "songs" to "stripes" and the songs themselves from "song" to "stripe". The jQuery-queries should be changed to look for these new class-names to make the script functional again. Cheers. :)"

this was another scripts comments section, so I attemped to change the instances in your script to see if that worked, and while it did call up the playlist again and show the fields under the song, it returned everything as undefined, so it was no use anyway.

 
Jun 30, 2008
Bouphecr Scriptwright

awesome script, worked flawlessly for a long time and was much better then being stuck with the inline player on the pages....but, as I'm sure you're aware, they changed the underlaying structure of muxtape today, which breaks every mux script. it seems like now it points to muxtape.s3 rather then s3.

i do look forward to an update, i used your script pretty much every single day. thanks again!

 
May 29, 2008
Hao Chen Scriptwright

Awesome script, thanks! I love the play m3u in external player feature. scrobble++ :)

 
May 7, 2008
crash (chipm... Scriptwright

DTA http://www.downthemall.net/

 
May 4, 2008
nyquildotorg Script's author

I'm not sure what dTs is...

I'll fix the double extensions, but it's really meant to just be clicked to launch your player. THe links to the actual files are time-coded, meaning if you actually save the m3u, it won't work later.

 
May 3, 2008
djackmanson User

When I downloaded the m3u, it came with two file extensions (so it was .m3u.m3u). Is this because I am using dTa?

 
Apr 29, 2008
Good To Too User

this hypem userscript is able to extract song names with Xpaths
http://userscripts.org/scripts/show/23612

 
Apr 29, 2008
Good To Too User

The updated version works grand!

Another site to consider is http://hypem.com/

:)

 
Apr 28, 2008
nyquildotorg Script's author

@ Good To Too

I've uploaded a few new versions this afternoon. Try the latest and see if it works better for you. (I'm listening to the m3u generated for the muxtape you pastebinned in an external player right now.)

 
Apr 28, 2008
Good To Too User

@ nyquildotorg

I'm using three muxtape userscripts fun I know.

The 'original' muxtape userscript works on the site I linked ("Download me!" text)
http://userscripts.org/scripts/show/24382

Your (us=25390) userscript's "Right-click to save. Copy/paste this filename:" does not work, and the generated m3u contains no URLs.

The php reflector no longer seems to work though it was working great for me yesterday (yes, I host my own php widgets for it)
http://userscripts.org/scripts/show/25428

 
Apr 28, 2008
nyquildotorg Script's author

@Nemanja

Yeah, the hashes do expire, so you couldn't just save the playlist to disc, but the .m3u link is generated with fresh expiration dates whenever you view the muxtape page. It's more designed so that when you go to a muxtape you can click to listen in another player without keeping the muxtape page open.

 
Apr 28, 2008
Nemanja Stef... Scriptwright

Nice mod nyquildotorg!

Just had one concern about whether the m3u will work always with the MP3 URL's in there. I'm not sure if the hash/sig muxtape generates for the songs might expire after a certain amount of time. Maybe not, but it would be something to check out.

 
Apr 28, 2008
nyquildotorg Script's author

as for being more complicated: indeed it is. I'm laying the groundwork to add in neat stuff like Last.fm scrobbling support.

 
Apr 28, 2008
nyquildotorg Script's author

oh, I was wrong. that particular muxtape doesn't work for me either. I quickly looked through it, and nothing jumped out at me as being different. I'll play later.

does the other muxtape script work on this muxtape?

 
Apr 28, 2008
nyquildotorg Script's author

hmm. it is working for me. Maybe I uploaded the wrong file... I'll play with it when I get a chance.

I did discover that the playlist that my script builds is messed up; the songs are not in the correct order, and the wrong trackname is associated with the wrong file. I'm not sure what the deal with that is, but I'm going to look into it.

 
Apr 28, 2008
Good To Too User

yours seems a bit more complicated than the previous guy's muxtape download userscript:

http://userscripts.org/scripts/show/24382

 
Apr 28, 2008
Good To Too User

undefined happens on this muxtape

http://pastebin.ca/W-chztWi
pw: muxtape

;)

 
Apr 21, 2008
y3sak User

Hmm, weird, you're right. I had it uninstalled but I came back to see if you had replied. I installed it and it's working.

 
Apr 20, 2008
nyquildotorg Script's author

I've run across that a time or two myself. Mostly not, though. Did you try a different muxtape? I've been unable to duplicate it now, but it does seem as if I've seen that happen.

 
Apr 20, 2008
y3sak User

Awesome script, but when I installed it. All download links were labeled as "undefined" links. The m3u generated a list of "undefined" tracks too.

You could comment on this script if you were logged in.