<?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; Software</title>
	<atom:link href="http://soryumi.liliso.com/archives/category/software/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/software/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/1847</link>
		<comments>http://soryumi.liliso.com/archives/1847#comments</comments>
		<pubDate>Tue, 24 Jan 2012 01:52:41 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1847</guid>
		<description><![CDATA[気が向いたときに、Linuxサーバ上に置いてるiTunesライブラリを外付けHDDにバックアップしてるんだけど、なんかinput/output errorとやらがやたら発生するようになってきた。 で、LVMの状態を見ると [...]]]></description>
			<content:encoded><![CDATA[<p>気が向いたときに、Linuxサーバ上に置いてるiTunesライブラリを外付けHDDにバックアップしてるんだけど、なんかinput/output errorとやらがやたら発生するようになってきた。</p>
<p>で、LVMの状態を見ると、こんなになってる。</p>
<blockquote><p>$ sudo pvscan<br />
/dev/dm-0: read failed after 0 of 4096 at 4000778747904: 入力/出力エラーです<br />
/dev/dm-0: read failed after 0 of 4096 at 4000778805248: 入力/出力エラーです<br />
/dev/sdc5: read failed after 0 of 1024 at 500096892928: 入力/出力エラーです<br />
/dev/sdc5: read failed after 0 of 1024 at 500096950272: 入力/出力エラーです<br />
/dev/sdc5: read failed after 0 of 1024 at 0: 入力/出力エラーです<br />
/dev/sdc5: read failed after 0 of 1024 at 4096: 入力/出力エラーです<br />
/dev/sdc5: read failed after 0 of 2048 at 0: 入力/出力エラーです<br />
/dev/sdc6: read failed after 0 of 512 at 500096892928: 入力/出力エラーです<br />
/dev/sdc6: read failed after 0 of 512 at 500096983040: 入力/出力エラーです<br />
/dev/sdc6: read failed after 0 of 512 at 0: 入力/出力エラーです<br />
/dev/sdc6: read failed after 0 of 512 at 4096: 入力/出力エラーです<br />
/dev/sdc6: read failed after 0 of 2048 at 0: 入力/出力エラーです<br />
/dev/sdc7: read failed after 0 of 512 at 500096892928: 入力/出力エラーです<br />
/dev/sdc7: read failed after 0 of 512 at 500096983040: 入力/出力エラーです<br />
/dev/sdc7: read failed after 0 of 512 at 0: 入力/出力エラーです<br />
/dev/sdc7: read failed after 0 of 512 at 4096: 入力/出力エラーです<br />
/dev/sdc7: read failed after 0 of 2048 at 0: 入力/出力エラーです<br />
/dev/sdc8: read failed after 0 of 1024 at 500105150464: 入力/出力エラーです<br />
/dev/sdc8: read failed after 0 of 1024 at 500105207808: 入力/出力エラーです<br />
/dev/sdc8: read failed after 0 of 1024 at 0: 入力/出力エラーです<br />
/dev/sdc8: read failed after 0 of 1024 at 4096: 入力/出力エラーです<br />
/dev/sdc8: read failed after 0 of 2048 at 0: 入力/出力エラーです<br />
Couldn&#8217;t find device with uuid z2F0Lj-wBMv-a3dG-5MKq-LxWP-dIPZ-DOr7kO.<br />
Couldn&#8217;t find device with uuid SFFp8K-WQy4-gyOS-T3Wm-luL7-mtI0-3SLkvA.<br />
Couldn&#8217;t find device with uuid 3ezhak-Uk1n-GI7A-EYGl-pcT8-9N2s-dAFudW.<br />
Couldn&#8217;t find device with uuid ffE7sI-5Qi3-FAUG-O2qU-VOqX-YeX3-e1NIbb.<br />
PV /dev/sdb5        VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV /dev/sdb6        VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV /dev/sdb7        VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV /dev/sdb8        VG vg0   lvm2 [465.76 GiB / 0    free]<br />
PV unknown device   VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV unknown device   VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV unknown device   VG vg0   lvm2 [465.75 GiB / 0    free]<br />
PV unknown device   VG vg0   lvm2 [465.76 GiB / 0    free]<br />
Total: 8 [3.64 TiB] / in use: 8 [3.64 TiB] / in no VG: 0 [0   ]</p></blockquote>
<p>/dev/sdcがまるごとunknown deviceになってしまってる…メタデータが壊れたのか、ディスクそのものが逝ったのか…<br />
fdisk /dev/sdcとかやると無効な引数って言われる…ディスクが見えてない！？</p>
<p>うー、2TB逝っちゃうと辛いんですけど。今HDD高いし＞＜</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1847/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1847" />
	</item>
		<item>
		<title>ユンケルすげえ</title>
		<link>http://soryumi.liliso.com/archives/1822</link>
		<comments>http://soryumi.liliso.com/archives/1822#comments</comments>
		<pubDate>Fri, 16 Dec 2011 01:56:35 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1822</guid>
		<description><![CDATA[どうも身体が怠くて、こりゃ風邪引いたかなって感じだったのだけど、先日の忘年会やら自転車東京巡り旅やらの影響か、胃の調子も悪かった（ものが食えない、食うと吐きそう、てゆか吐いた）ので、風邪薬飲むとさらに胃を荒らしそうでどう [...]]]></description>
			<content:encoded><![CDATA[<p>どうも身体が怠くて、こりゃ風邪引いたかなって感じだったのだけど、先日の忘年会やら自転車東京巡り旅やらの影響か、胃の調子も悪かった（ものが食えない、食うと吐きそう、てゆか吐いた）ので、風邪薬飲むとさらに胃を荒らしそうでどうしたものかと思っていたわけです。</p>
<p>そこで、思い立ったのが<a href="http://www.yunker.jp">ユンケル</a>。ええ、元気になるアレですよ。<br />
ユンケルなら胃が荒れることも無かろう、ということで飲んで寝たら、あらびっくり。完全に治った。2本\1,500くらいの大したグレードのものではなかったけどもこの効果。<br />
これからは風邪薬より、家にはユンケル常備した方がいいような気がしてきた。</p>
<p>ところでユンケルって言えば、オレの中ではいまだにタモさんなんだけど、もうCMには出てないよね…？<br />
今はイチローだっけ？やつはユンケルなんか飲まなくても十分野球やれるだろ（今年ダメだったのは飲まなかったせいかもしれないけど）。Webサイトの画像もなんだか自信たっぷりでいけ好かない。別にオレはヒット量産したり盗塁しまくったりしたいわけじゃねえんだ。</p>
<p>でもタモさんはユンケル飲んでるからこそ、毎日森田一義ショーをやりながらタモリ倶楽部やるなんていうハードな仕事をこなせているに違いないわけで、ユンケル無しではミュージックステーションのテンションがもっと下がって、「続いてはAKB…はぁ、もういいや、めんどくさいから次、ジャニーズのなんとか、誰だよお前」とかになっちゃうわけですよ。<br />
今こそ佐藤製薬はイメージキャラクターをタモさんに戻すべきだと、ここで熱く主張しておきたい。</p>
<p><iframe style="width: 120px; height: 240px;" src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=soundofrudene-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=B001O7NLRM" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="320" height="240"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1822/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1822" />
	</item>
		<item>
		<title>UPSの状態をグラフ化</title>
		<link>http://soryumi.liliso.com/archives/1799</link>
		<comments>http://soryumi.liliso.com/archives/1799#comments</comments>
		<pubDate>Wed, 17 Aug 2011 05:44:46 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1799</guid>
		<description><![CDATA[ここのプラグインを使ったら、MuninでUPSの状態グラフを表示できた！ なんか嬉しい！ プラグインのスクリプトに直書きされてる閾値は、どうも海外仕様の値っぽいので、適当に書き直した。 あと、Battery Charge [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://exchange.munin-monitoring.org/plugins/nut/details">ここのプラグイン</a>を使ったら、MuninでUPSの状態グラフを表示できた！<br />
なんか嬉しい！</p>
<p><a href="http://soryumi.liliso.com/wp-content//munin.jpg"><img src="http://soryumi.liliso.com/wp-content//munin.jpg" alt="" title="munin" width="481" height="316" class="alignnone size-full wp-image-1803" /></a></p>
<p>プラグインのスクリプトに直書きされてる閾値は、どうも海外仕様の値っぽいので、適当に書き直した。<br />
あと、Battery Charge(充電率?)の値はちゃんと計測してないから、これも適当(こっちはups.confを修正)。<br />
今度試験して、測ってみよう。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1799/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1799" />
	</item>
		<item>
		<title>Subsonicのパスワード忘れた</title>
		<link>http://soryumi.liliso.com/archives/1795</link>
		<comments>http://soryumi.liliso.com/archives/1795#comments</comments>
		<pubDate>Wed, 17 Aug 2011 05:32:39 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1795</guid>
		<description><![CDATA[そんなときの調べ方。 ガチ平文！ まあ、そんなに重要なデータが入ってるわけじゃなし、問題ないか。]]></description>
			<content:encoded><![CDATA[<p>そんなときの<a href="http://forum.subsonic.org/forum/viewtopic.php?t=3770">調べ方</a>。</p>
<p>ガチ平文！<br />
まあ、そんなに重要なデータが入ってるわけじゃなし、問題ないか。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1795/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1795" />
	</item>
		<item>
		<title>UPSが使える！？</title>
		<link>http://soryumi.liliso.com/archives/1790</link>
		<comments>http://soryumi.liliso.com/archives/1790#comments</comments>
		<pubDate>Tue, 16 Aug 2011 03:33:47 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1790</guid>
		<description><![CDATA[以前、Linuxで使うのをあきらめたOMRON BY50Sなのだけど、こんな記事を発見。 なんとnutでBY50Sを認識できるとな！？ nutは試してみたんだけど、日本語情報が少なくて、適合するドライバを探せなかったんで [...]]]></description>
			<content:encoded><![CDATA[<p><a title="OMRON BY50S" href="http://soryumi.liliso.com/archives/1767">以前</a>、Linuxで使うのをあきらめた<a href="http://www.omron.co.jp/ese/ups/product/ups/by35-50s/by35-50s.html">OMRON BY50S</a>なのだけど、<a href="http://sunnyone41.blogspot.com/2011/05/omron-by50subuntu-1104.html">こんな記事</a>を発見。</p>
<p>なんとnutでBY50Sを認識できるとな！？</p>
<p>nutは試してみたんだけど、日本語情報が少なくて、適合するドライバを探せなかったんで断念してたんだよね。</p>
<p>で、記事通りにやってみたら、うまく動いてくれました。</p>
<p>udev周りが微妙に怪しくて、最初、パーミッションで弾かれてたんだけど、リブートしたらなぜか直ったり。</p>
<p>とりあえず、これとwinexeで停電対策が可能になった！わーい！</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1790/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1790" />
	</item>
		<item>
		<title>LinuxからWindowsにコマンドを入力</title>
		<link>http://soryumi.liliso.com/archives/1783</link>
		<comments>http://soryumi.liliso.com/archives/1783#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:05:50 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1783</guid>
		<description><![CDATA[LinuxサーバからWindows機の電源を切るにはどーすればいいの？というのを調べてたら、winexeなるものにたどり着きました。 こんな感じでインストール↓ mkdir winexe cd winexe svn co [...]]]></description>
			<content:encoded><![CDATA[<p>LinuxサーバからWindows機の電源を切るにはどーすればいいの？というのを調べてたら、winexeなるものにたどり着きました。</p>
<p>こんな感じでインストール↓</p>
<p>mkdir winexe<br />
cd winexe<br />
svn co http://dev.zenoss.org/svn/trunk/wmi/Samba/source<br />
cd source<br />
./autogen.sh<br />
./configure<br />
make proto bin/winexe<br />
cp -f bin/winexe /usr/local/bin</p>
<p>ただ、今の版にバグがあるみたいで、winexe/service.cを直さないと接続時にエラーが出ます。</p>
<p>#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0xc0000424)<br />
↓<br />
#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0&#215;00000424)</p>
<p>んで、こんな感じで実行。</p>
<p>/usr/local/bin/winexe -U DOMAIN/username //computername &#8220;cmd /C ipconfig&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1783/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1783" />
	</item>
		<item>
		<title>再生中の曲情報を取得するAppleスクリプト</title>
		<link>http://soryumi.liliso.com/archives/1784</link>
		<comments>http://soryumi.liliso.com/archives/1784#comments</comments>
		<pubDate>Sun, 14 Aug 2011 15:11:13 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/?p=1784</guid>
		<description><![CDATA[tell application &#8220;iTunes&#8221; set tArtist to artist of current track set tAlbum to album of current tr [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;">tell application &#8220;iTunes&#8221;<br />
set tArtist to artist of current track<br />
set tAlbum to album of current track<br />
set tName to name of current track<br />
end tell<br />
set sendText to &#8220;♪&#8221; &amp; tArtist &amp; &#8221; / &#8221; &amp; tName &amp; &#8221; (&#8221; &amp; tAlbum &amp; &#8220;) #nowplaying&#8221;<br />
return sendText</p>
<p>これにAutomatorで&#8221;クリップボードにコピー&#8221;をひっつけて、Twitter投稿とかに使えるようにしております。<br />
WindowsではRubyスクリプト組んでたんだけど、せっかくMacなので。</p>
<p>でもまだAppleスクリプトが何者なのかはまるっきりわかりません。</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1784/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1784" />
	</item>
		<item>
		<title>iTunesでCDを取り込み直す</title>
		<link>http://soryumi.liliso.com/archives/1744</link>
		<comments>http://soryumi.liliso.com/archives/1744#comments</comments>
		<pubDate>Sun, 16 May 2010 03:44:16 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1744</guid>
		<description><![CDATA[わたしの趣味は、iTunesのライブラリ弄りであるわけだが、昔取り込んだ曲はビットレートが低かったりして気持ちが悪い(今はiTunes Plus(AAC 256kbps))。 そこで、暇さえあれば取り込みをやり直してるわ [...]]]></description>
			<content:encoded><![CDATA[<p>わたしの趣味は、iTunesのライブラリ弄りであるわけだが、昔取り込んだ曲はビットレートが低かったりして気持ちが悪い(今はiTunes Plus(AAC 256kbps))。    <br />そこで、暇さえあれば取り込みをやり直してるわけだが、下手にやると再生回数とかレートとかせっかく育てたライブラリが台無しになってしまうので、以下のようなやり方でやっております。</p>
<ol>
<li>iTunesでCDを認識させ、CDDBの情報とライブラリ上のid3タグの情報が一致しているかを確認する。      <br />合っていれば、そのままインポート。合っていなければ、2.へ。       <br />ここで合わないままインポートしてしまうと、iTunesが別の曲だと認識して、既存の曲を上書きしてくれない。 </li>
<li>合っていない曲数が少なければ、iTunes上で修正。      <br />合っていない曲数が多くて面倒なときは、
<ol>
<li>ライブラリからファイルをSuper Tag Editor(STEP)へドラッグ&amp;ドロップ(<a href="http://mimumimu.net/software/#STEP_M">改造版</a>ならAACも読める)。 </li>
<li>CDDBの情報じゃなくて、ファイルの情報をとっておきたい場合は、STEP上で曲情報をコピーして、テキストエディタかなにかにペースト。 </li>
<li>iTunesのCD情報をコピーして、STEPに上書きペースト。STEPの列順とiTunesの列順を合わせておくこと。 </li>
<li>STEPで保存。 </li>
<li>iTunes上の書き換えたファイルをまとめて選択し、プロパティを表示。で、なにも書き換えずにOKを押すと、STEPで編集した内容が反映される。 </li>
</ol>
</li>
<li>CDをiTunesでインポート。「既存の曲を上書きしますか?」と聞いてくるはずなので、上書き。      <br />ここで聞いてこない場合、アルバム名、トラック番号、ディスク番号のどれかが合っていないはず。特にディスク番号は気づきづらい。 あとスペースの有無とか。全角半角/大文字小文字は無視っぽい。あと、éみたいなUnicodeな文字も注意(STEPでコピペできない)。</li>
<li>インポート完了後、2-2でコピペした情報を同じ要領でSTEP使って反映。 </li>
</ol>
<p>わたしはこのやり方で、5年前に取り込んだ曲をアップデートし続けております…</p>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1744/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1744" />
	</item>
		<item>
		<title>Ubuntu Server 10.04 その2</title>
		<link>http://soryumi.liliso.com/archives/1741</link>
		<comments>http://soryumi.liliso.com/archives/1741#comments</comments>
		<pubDate>Sat, 01 May 2010 01:17:46 +0000</pubDate>
		<dc:creator>soryumi</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://soryumi.liliso.com/archives/1741</guid>
		<description><![CDATA[というわけで、やったことをメモ。 固定IPアドレスを設定 $ sudo vi /etc/network/interfaces bindを設定 とりあえず、内部用のみ。 デスクトップ環境 $ sudo apt-get in [...]]]></description>
			<content:encoded><![CDATA[<p>というわけで、やったことをメモ。</p>
<ul>
<li>固定IPアドレスを設定     <br />$ sudo vi /etc/network/interfaces</li>
<li>bindを設定     <br />とりあえず、内部用のみ。</li>
<li>デスクトップ環境     <br />$ sudo apt-get install ubuntu-desktop</li>
<li>apacheのUserDirを有効化     <br />$ sudo a2enmod UserDir       <br />$ sudo service apache restart</li>
<li>VNC     <br />$ sudo apt-get install vnc4server       <br />$ sudo apt-get install xinetd       <br />$ sudo vi /etc/xinetd.d/xvnc      <br />service xvnc       <br />{       <br />disable = no       <br />socket_type = stream       <br />wait = no       <br />user = nobody       <br />group = tty       <br />server = /usr/bin/Xvnc       <br />service Xvnc       <br />{       <br />&#160; type = UNLISTED       <br />&#160; disable = no       <br />&#160; socket_type = stream       <br />&#160; protocol = tcp       <br />&#160; wait = yes       <br />&#160; user = root       <br />&#160; flags = NOLIBWRAP       <br />&#160; server = /usr/bin/Xvnc       <br />&#160; server_args = -inetd :1 -query localhost -geometry 1280&#215;960 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared&#160;&#160;&#160; passwordFile=/root/.vncpasswd       <br />&#160; port = 5901       <br />}      <br />$ sudo vncpasswd /root/.vncpasswd       <br />$ sudo /etc/init.d/xinetd restart
<p>と、ここまでやったがログイン画面が出てこない…gdm関連がなにか変わってるのかしら？</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://soryumi.liliso.com/archives/1741/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://soryumi.liliso.com/archives/1741" />
	</item>
	</channel>
</rss>

