Skip to content

Instantly share code, notes, and snippets.

@woowee
Last active December 10, 2015 23:58
Show Gist options
  • Save woowee/4512921 to your computer and use it in GitHub Desktop.
Save woowee/4512921 to your computer and use it in GitHub Desktop.
recording of the radiko. an example of the xml format plist.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>koo.radiko.tbs1.baka</string>
<key>ProgramArguments</key>
<array>
<string>/Users/koo/radiko/radiko.sh</string>
<string>TBS</string>
<string>122</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Minute</key>
<integer>57</integer>
<key>Hour</key>
<integer>0</integer>
<key>Weekday</key>
<integer>2</integer>
</dict>
</dict>
</plist>
@woowee
Copy link
Author

woowee commented Jan 11, 2013

ascii 形式の plist 'woowee/temp.plist' を plutil を使って xml 形式にコンバートした plist.;

% plutil -convert xml1 ~/radiko/tmp.plist -o ~/radiko/example.radiko.tbs1.baka.plist

@woowee
Copy link
Author

woowee commented Jan 11, 2013

一応,微調整しましたが...

@woowee
Copy link
Author

woowee commented Feb 3, 2013

radiko.sh 側で id3 tag の処理を切り離したため,同様の引数をトル.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment