https://github.com/lujun9972/play_random_podcast.sh
https://github.com/lujun9972/play_random_podcast.sh
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lujun9972/play_random_podcast.sh
- Owner: lujun9972
- Created: 2018-09-18T14:16:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-09T03:51:22.000Z (about 4 years ago)
- Last Synced: 2025-02-09T15:12:13.331Z (over 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: README
#+AUTHOR: lujun9972
#+TAGS: play_random_podcast.sh
#+DATE: [2018-09-18 二 22:09]
#+LANGUAGE: zh-CN
#+OPTIONS: H:6 num:nil toc:t \n:nil ::t |:t ^:nil -:nil f:t *:t <:nil
随机播放播客
* Requirememt
+ curl
+ mpg123
* Usage
#+BEGIN_SRC shell
play_random_podcast.sh [-c][-s STORE_DIRECTORY] [--] PODCAST_FEED
#+END_SRC
其中 =-c= 表示缓存podcast中的mp3文件,会保存mp3文件到存储目录中
可以使用 =-s STORE_DIRECTORY= 来指定存储目录的地址,默认为脚本所在目录中的 =podcasts/博客域名/=