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
- Host: GitHub
- URL: https://github.com/salgadobreno/podbox
- Owner: salgadobreno
- Created: 2013-02-16T21:44:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T11:16:20.000Z (about 12 years ago)
- Last Synced: 2024-04-15T02:48:44.664Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.markdown
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.