<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>sound of rudeness &#187; TV</title>
	<atom:link href="http://soryumi.liliso.com/archives/category/tv/feed" rel="self" type="application/rss+xml" />
	<link>http://soryumi.liliso.com</link>
	<description>soryumi's weblog</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:33:56 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/category/tv/feed" />
		<item>
		<title>MythTVの録画データをPodcastにする</title>
		<link>http://soryumi.liliso.com/archives/1855</link>
		<comments>http://soryumi.liliso.com/archives/1855#comments</comments>
		<pubDate>Wed, 08 Feb 2012 08:48:20 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1855</guid>
		<description><![CDATA[サーバの中身が消し飛んだので、前々から使っていたMythTVの録画データをPodcastにするためのスクリプトを一から作り直すはめに… 同じミスを繰り返した場合でも復活できるように、スクリプトをメモ。 #!/usr/bi [...]]]></description>
			<content:encoded><![CDATA[<p>サーバの中身が消し飛んだので、前々から使っていたMythTVの録画データをPodcastにするためのスクリプトを一から作り直すはめに…<br />
同じミスを繰り返した場合でも復活できるように、スクリプトをメモ。</p>
<blockquote><p>#!/usr/bin/ruby</p>
<p>require &#8216;dbi&#8217;<br />
require &#8216;rss&#8217;</p>
<p>expdir = &#8220;/home/foo/export&#8221;<br />
baseurl = &#8220;http://example/~foo/&#8221;<br />
opturl = &#8220;opt/&#8221;</p>
<p>author = { &#8217;1001&#8242; =&gt; &#8216;NHK&#8217;,<br />
&#8217;1003&#8242; =&gt; &#8216;Eテレ&#8217;,<br />
&#8217;1004&#8242; =&gt; &#8216;日本テレビ&#8217;,<br />
&#8217;1006&#8242; =&gt; &#8216;TBS&#8217;,<br />
&#8217;1008&#8242; =&gt; &#8216;フジテレビ&#8217;,<br />
&#8217;1010&#8242; =&gt; &#8216;テレビ朝日&#8217;,<br />
&#8217;1012&#8242; =&gt; &#8216;テレビ東京&#8217;<br />
}</p>
<p>recfiles = Dir.glob(expdir + &#8220;/*.m4v&#8221;)</p>
<p>dbh = DBI.connect(&#8220;dbi:Mysql:mythconverg:localhost&#8221;,&#8221;mythtv&#8221;,&#8221;Password&#8221;)<br />
dbh.do(&#8220;SET CHARACTER SET utf8&#8243;)</p>
<p>rss = RSS::Maker.make(&#8220;2.0&#8243;) {|maker|<br />
maker.channel.title = &#8220;MythTV Recorded&#8221;<br />
maker.channel.description = &#8220;MythTV Recorded Videos&#8221;<br />
maker.channel.link = baseurl<br />
maker.channel.itunes_author = &#8220;example.com&#8221;<br />
maker.channel.itunes_categories.new_category {|category|<br />
category.text = &#8220;TV &amp; Film&#8221;<br />
}<br />
maker.items.do_sort = true</p>
<p>recfiles.each {|recfile|<br />
filename = File::basename(recfile)<br />
chanid, starttime, dummy = filename.split(/[_.]/)<br />
query = &#8220;select * from recorded where chanid=&#8217;#{chanid}&#8217; and starttime=&#8217;#{starttime}&#8217;&#8221;<br />
sth = dbh.execute(query)<br />
sth.fetch_hash {|row|<br />
item = maker.items.new_item<br />
item.title = row['title']<br />
item.date = row['starttime']<br />
item.enclosure.url = baseurl + opturl + filename<br />
item.enclosure.length = File::size(recfile)<br />
item.enclosure.type = &#8220;video/mp4&#8243;<br />
item.description = row['description']<br />
item.itunes_subtitle = row['subtitle']<br />
item.itunes_author = author[chanid]<br />
item.itunes_keywords = row['category']<br />
}<br />
}<br />
}</p>
<p>dbh.disconnect if dbh</p>
<p>print rss.to_s</p></blockquote>
<p>実行すると標準出力にrdfを吐くので、吐き出したrdfをWebサーバ上のどこかに置いて、iTunesとかにつっこめばPodcastとして録画データを視聴可能。<br />
Podcastにしとくと、iPod/iPhoneにも入れられるし、AppleTVからも見られるのでなかなか便利っすよ。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1855/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1855" />
	</item>
		<item>
		<title>世界で一番うらやましい仕事</title>
		<link>http://soryumi.liliso.com/archives/1293</link>
		<comments>http://soryumi.liliso.com/archives/1293#comments</comments>
		<pubDate>Sat, 05 Jul 2008 14:23:00 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1293</guid>
		<description><![CDATA[最近、みいるさんとワシがよく見てるのが、BS-iでやってる「吉田類の酒場放浪記」。吉田類っつーオッサンが街の居酒屋を紹介する番組なのだが、これがただ飲み歩いているだけにしか見えない。締めコメントとかろれつが回らなくなっち [...]]]></description>
			<content:encoded><![CDATA[<p>最近、みいるさんとワシがよく見てるのが、BS-iでやってる「<a href="http://sakaba.box.co.jp/">吉田類の酒場放浪記</a>」。<br />吉田類っつーオッサンが街の居酒屋を紹介する番組なのだが、これがただ飲み歩いているだけにしか見えない。締めコメントとかろれつが回らなくなっちゃってて、何言ってんだかわかんねえし。<br />見てると、あー飲みに行きたいなーとは思うが、紹介された居酒屋に別段行きたいとは思わせないあたりが絶妙。<br />そんなユルさが好きなのでよく見てる。てゆか、毎週見てる。なぜかDVD化もされてるので、買ってしまうかもしれん。</p>
<p>で、遊びに来ていたうちの実家の皆様と今週の放送を見ていたら、映し出されたのはなんか見覚えのある光景。てゆか、見覚えがありすぎる光景・・・稲田堤じゃん！<br />なんと、今週は<a href="http://sakaba.box.co.jp/blog/sb.cgi?eid=189">稲田堤の酉将</a>って焼鳥屋が紹介されてました。焼き鳥は時々買うけど、入ったことはない店。<br />レバ刺しうまそう・・・なんか店頭じゃ売ってない串もいろいろあるみたい。うおお。</p>
<p>さすがに地元の店だと、思わず行きたくなるな・・・<br />と思ったら、来週は<a href="http://sakaba.box.co.jp/blog/sb.cgi?eid=192">調布のい志井</a>らしい。また近所じゃん。こっちは前に行ったことあるな。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1293/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1293" />
	</item>
		<item>
		<title>スカパー！</title>
		<link>http://soryumi.liliso.com/archives/1277</link>
		<comments>http://soryumi.liliso.com/archives/1277#comments</comments>
		<pubDate>Sun, 25 May 2008 05:32:06 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1277</guid>
		<description><![CDATA[そういえばリモコンでCSのボタンを押すと、普通にウェルカムチャンネル見られるし、もしかしてアンテナ立てなくても見られるようになってるのかしら？JCOMは工事済みって聞いてたけど、CSもOKなんですか？ものは試し、てことで [...]]]></description>
			<content:encoded><![CDATA[<p>そういえばリモコンでCSのボタンを押すと、普通にウェルカムチャンネル見られるし、もしかしてアンテナ立てなくても見られるようになってるのかしら？JCOMは工事済みって聞いてたけど、CSもOKなんですか？<br />ものは試し、てことで、<a href="http://www.e2sptv.jp/info_news/16days_free/">ホームページから無料体験</a>を申し込んでみた。</p>
<p>1日経っても一向に見られる気配がないので、やっぱりアンテナ立てないとダメかなー、と思いきや、CS受信状態のまま放っておかないと衛星メールとやらが届かないのね。通販番組しか見られない状態で1時間くらい待ってたら、メールが流れてきて、見られるようになりました。やったー！</p>
<p>全チャンネルが見られるようになったんだけど、見てるのはもっぱらスペシャとかM-ON!とか、音楽系のみ。ラジオ代わりって感じ。<br />とはいえ、音楽系チャンネルだけ購入とかだとお得感無いんで、基本パック購入ですかねー？てゆか、パックってスポーツものしかないのね。ふむー。</p>
<p>今のところ3,500円くらいなら払ってもいいかなー、と思ってるけど、2週間後はどうでしょー？</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1277/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1277" />
	</item>
		<item>
		<title>なんとか復活</title>
		<link>http://soryumi.liliso.com/archives/1190</link>
		<comments>http://soryumi.liliso.com/archives/1190#comments</comments>
		<pubDate>Sat, 26 Jan 2008 13:46:09 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1190</guid>
		<description><![CDATA[こちらのサイトを参考に、MySQLとMythTVを入れたり消したり繰り返してたら、なんとか録画環境が復活。ぎりぎりガンダムに間に合った！この間録り逃した、奥田民生が出てたSONGSも再放送があるようだし、よかったよかった [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www17.ocn.ne.jp/~tuzre/index.html">こちらのサイト</a>を参考に、MySQLとMythTVを入れたり消したり繰り返してたら、なんとか録画環境が復活。<br />ぎりぎりガンダムに間に合った！この間録り逃した、奥田民生が出てた<a href="http://www.nhk.or.jp/songs/">SONGS</a>も再放送があるようだし、よかったよかった。</p>
<p>しかし、今<a href="http://www.nhk.or.jp/songs/">SONGS</a>のサイトに載ってる世良公則が、板尾さんに見えてしかたがない件。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1190/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1190" />
	</item>
		<item>
		<title>異様に早起き</title>
		<link>http://soryumi.liliso.com/archives/1137</link>
		<comments>http://soryumi.liliso.com/archives/1137#comments</comments>
		<pubDate>Fri, 26 Oct 2007 20:47:24 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1137</guid>
		<description><![CDATA[さっきから、日テレでスポーツ報知の「マッチ、パパに」の記事が紹介されるたびに、大橋アナの写真が映り込むのがひじょーに気になる。そっち紹介してくれ。]]></description>
			<content:encoded><![CDATA[<p>さっきから、日テレでスポーツ報知の「マッチ、パパに」の記事が紹介されるたびに、大橋アナの写真が映り込むのがひじょーに気になる。そっち紹介してくれ。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1137/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1137" />
	</item>
		<item>
		<title>ﾅﾂｶｼｽ</title>
		<link>http://soryumi.liliso.com/archives/828</link>
		<comments>http://soryumi.liliso.com/archives/828#comments</comments>
		<pubDate>Wed, 10 May 2006 14:52:19 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/828</guid>
		<description><![CDATA[“skydog gang”:むかしのsaku sakuのエントリを見て、しばし懐かしさに浸る。 黒幕が歌ヘタとか、歌うなくらいの勢いで言われてて、今の音楽番組っぷりからは考えられんね。 Youtubeには他にもあかぎ時代 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.livedoor.jp/skydog_gang/archives/50428830.html">“skydog gang”:むかしのsaku saku</a>のエントリを見て、しばし懐かしさに浸る。<br />
黒幕が歌ヘタとか、歌うなくらいの勢いで言われてて、今の音楽番組っぷりからは考えられんね。</p>
<p><a href="http://www.youtube.com/results?search=sakusaku&#038;search_type=search_videos&#038;search=Search">Youtubeには他にもあかぎ時代の動画がいくつか</a>あがっていて、お願いだからDVD化してくれと祈りながら次々に見ている次第。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/828/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/828" />
	</item>
		<item>
		<title>ああそうか</title>
		<link>http://soryumi.liliso.com/archives/627</link>
		<comments>http://soryumi.liliso.com/archives/627#comments</comments>
		<pubDate>Thu, 14 Jul 2005 15:22:56 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/627</guid>
		<description><![CDATA[saku sakuのMSがヴィンセントとやらに替わって2週間が経とうとしているわけだが、まだ慣れないですな。黒幕の声も素のままだし。 最近やっとカエラに慣れてきたところだっつーのになあ。 それはそうと、ヴィンセントがなに [...]]]></description>
			<content:encoded><![CDATA[<p>saku sakuのMSがヴィンセントとやらに替わって2週間が経とうとしているわけだが、まだ慣れないですな。黒幕の声も素のままだし。<br />
最近やっとカエラに慣れてきたところだっつーのになあ。</p>
<p>それはそうと、ヴィンセントがなにかに似ていると思ったんだが、あれだ。<br />
ゲーマント。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/627/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/627" />
	</item>
		<item>
		<title>俺フォーエバー</title>
		<link>http://soryumi.liliso.com/archives/618</link>
		<comments>http://soryumi.liliso.com/archives/618#comments</comments>
		<pubDate>Sat, 02 Jul 2005 00:12:40 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/618</guid>
		<description><![CDATA[ジゴロウ最終回、熱かった。 「正直、腑に落ちない」とか「笑いは会議室で起こってるんじゃない！現場で起こってるんだ！」とか、現場スタッフのやりきれなさを語っておりますね・・・ これがこのまま流れちゃうあたり、さすが地方局て [...]]]></description>
			<content:encoded><![CDATA[<p>ジゴロウ最終回、熱かった。</p>
<p>「正直、腑に落ちない」とか「笑いは会議室で起こってるんじゃない！現場で起こってるんだ！」とか、現場スタッフのやりきれなさを語っておりますね・・・<br />
これがこのまま流れちゃうあたり、さすが地方局て感じだが。</p>
<p>来週からも黒幕とかは続投みたいだけど、こういうことがあってモチベーションが下がらないといいけど。<br />
プロだから大丈夫なのかもしれんが、プロっぽくないところがおもしろい番組だったんだし、逆にすごい自暴自棄とかへこんだテンションで放送、てのもおもしろいかもしれん。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/618/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/618" />
	</item>
		<item>
		<title>ぬぁにぃ！？</title>
		<link>http://soryumi.liliso.com/archives/613</link>
		<comments>http://soryumi.liliso.com/archives/613#comments</comments>
		<pubDate>Mon, 27 Jun 2005 15:51:31 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/613</guid>
		<description><![CDATA[sakusakuからジゴロウとペパーがいなくなる！？ 昼間にTECHSIDEで知ってから、2ちゃんとかめぐってみたが、どうやら本当らしい。 デザイナーさんのblogを呼んだ限りでは、版権がらみのごたごたが原因の模様。 大 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tvk-yokohama.com/saku2/">sakusaku</a>からジゴロウとペパーがいなくなる！？<br />
昼間に<a href="http://www.iris.dti.ne.jp/~spec/">TECHSIDE</a>で知ってから、2ちゃんとかめぐってみたが、どうやら本当らしい。</p>
<p><a href="http://dice-k-express.cocolog-nifty.com/aisaba/2005/06/post_d880.html">デザイナーさんのblog</a>を呼んだ限りでは、版権がらみのごたごたが原因の模様。<br />
大人の事情、ってやつね・・・</p>
<p>たった今、夜の再放送を見てたら、ジゴロウが「どうせ今週で終わりなんだし」「どうせアンタ（ご意見番）も今週でクビなんだから」だって。<br />
あぁ、あかぎあいの復活どころか、ジゴロウさえ見られなくなるのか・・・<br />
黒幕が続投すれば、まあ、それなりに面白くはなるんだろうけど、こういうことが1回あるとなんだか素直に楽しめなくなっちゃう感じ。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/613/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/613" />
	</item>
		<item>
		<title>わかってるね</title>
		<link>http://soryumi.liliso.com/archives/578</link>
		<comments>http://soryumi.liliso.com/archives/578#comments</comments>
		<pubDate>Mon, 09 May 2005 05:18:59 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/578</guid>
		<description><![CDATA[今、THE ワイドで藤井隆と乙葉の結婚ネタがやってるんだが、BGMがことごとく大ちゃんですよ。 「夢を見たいから」と「DECADE＆XXX」ですな。その後がなんと「TWINKLE NIGHT」・・・これはTM NETWO [...]]]></description>
			<content:encoded><![CDATA[<p>今、<a href="http://www.yte.co.jp/music/wide-index.php3">THE ワイド</a>で藤井隆と乙葉の結婚ネタがやってるんだが、BGMがことごとく大ちゃんですよ。<br />
「夢を見たいから」と「DECADE＆XXX」ですな。その後がなんと「TWINKLE NIGHT」・・・これはTM NETWORKのカバー。なかなかマニアックなところを突いてます。<br />
大ちゃんの曲はジングルっぽい短いフレーズの寄せ集めみたいなアレンジが多いので、こーゆーののBGMにはよく使われてますよね。頭のオケヒ1発だけとか。</p>
<p>でも、藤井隆のネタなんだから、ここは<a href="http://www.google.co.jp/search?hl=ja&#038;c2coff=1&#038;q=Too+Many+Broken+Hearts+%E3%83%8A%E3%83%B3%E3%83%80%E3%82%AB%E3%83%B3%E3%83%80&#038;btnG=Google+%E6%A4%9C%E7%B4%A2&#038;lr=lang_ja">やっぱり「Too Many Broken Hearts」</a>を流してほしかったところ。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/578/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/578" />
	</item>
	</channel>
</rss>

