Skip to content

Tool I build for myself :p Enqueue Youtube videos to have their mp3s extracted so you can ~hear~ them later. Uses: Sinatra, Resque, a fork of Youtube-mp3

Notifications You must be signed in to change notification settings

salgadobreno/podbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why?

I really like listening stuff while driving(mainly people talking: interviews, talks)

How

  1. git clone $this, bundle install

  2. Set up Youtube-mp3 from: https://github.com/salgadobreno/youtube-mp3

  3. Set your Redis to persist otherwise you'll lose the queue when you restart, on redis.conf:

    save 300 1 # save every 5 minutes if there's any change

    dbfilename dump.rdb

    dir /some_directory/

  4. There's a sinatra app but it would only be worth it if you set it to start automatically, I just use the podbox script to add queues:

    ruby podbox {youtube_url}

  5. The good thing(IMO) of having Redis set this way is that I can just queue stuff in a 'save for later' fashion, then anytime you feel like getting that new stuff on your pen-drive/phone, run QUEUE=* rake resque:work and it takes care of the rest for you.

The MP3 Files will be downloaded into this script's root dir.

About

Tool I build for myself :p Enqueue Youtube videos to have their mp3s extracted so you can ~hear~ them later. Uses: Sinatra, Resque, a fork of Youtube-mp3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published