An open API service indexing awesome lists of open source software.

https://github.com/salgadobreno/podbox

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
https://github.com/salgadobreno/podbox

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Why?
===

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

How
===

0. `git clone $this`, `bundle install`
1. Set up Youtube-mp3 from: https://github.com/salgadobreno/youtube-mp3
2. 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/

3. 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}

4. 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.