3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

定時になったら超A&Gを再生する方法(Windows)

Last updated at Posted at 2022-11-20

概要

突然ですが、私は小原好美さん(声優)のラジオが好きで、よく聞いています。番組は超A&Gで放送されている、小原好美のこころおきなくという番組です。

番組は日曜日の20時に放送されるので、ほぼ確実に在室しており聞けるのですが、風呂に入っていて忘れてしまうことも多い。録音用のバッチを書いていたのですが、コケることも多くうまくいかない....ということで、定刻になったらPC上から再生するようにすればいいじゃん!ということに。

定刻になったら超A&Gを再生するバッチ

前提条件

ffmpeg ffplayのパスが通っている必要があります。

バッチ

Windows上で、下記の内容でバッチを作成する。

ffplay -nodisp "https://agcdn02.cdnext.stream.ne.jp/hls2/basic/data/prog_index.m3u8"

※仕様変更前はこうでした。
ffplay -nodisp "https://fms2.uniqueradio.jp/agqr10/aandg1.m3u8"

タスクスケジューラ登録

タスクスケジューラにこんな感じでバッチを登録
image.png

ちょっと早めにしておくのがポイント。

日曜日20時を待つ

再生されるでしょうか??

まとめ

ffplay -nodisp "https://fms2.uniqueradio.jp/agqr10/aandg1.m3u8" とコマンドを実行すると、超A&Gが再生できるので便利!!!!いろいろ応用できそうです。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?