« iTune Music Serverを作ろう (5) | Main | mt-daapd再挑戦 »

March 28, 2006

iTune Music Serverを作ろう (6)

さて,大宮まで一気にぶっ飛ばそう.
さて,ここからは自分も未体験のゾーンに入っていく,結論として動かないかもしれないのでそのつもりで.

- mt-daapdのインストール
iTuneのmusic serverのプログラムはmt-daapdという.portとしては/usr/ports/audio/mt-daapdにある.

$ cd /usr/ports/audio/mt-daapd
$ sudo make install clean

普通は,これで動くはずだが,mt-daapdと打つとmt-daapd.confがないという.仕方ないのでmt-daapdでぐぐって見る.ここが本家のようだ.ドキュメントをよく見る.
portsのディレクトリを見るとfiles/以下にmt-daapd.confとmt-daapd.shがある.中身を見てもPREFIXがあったり,どうもなぁ.である.仕方ないのでtar玉をここからfetchしてくる.
$ fetch http://jaist.dl.sourceforge.net/sourceforge/mt-daapd/mt-daapd-0.2.4.tar.gz

解凍
$ tar xvzf mt-daapd-0.2.4.tar.gz
$ cd mt-daapd-0.2.4

READMEを見てみる.contrib以下のmt-daapd.confとmt-daapd.playlistを/etcにコピーせよと書いてある.
やってみる.
$ sudo cp contrib/mt-daapd.conf /etc
$ sudo cp contrib/mt-daapd.playlist /etc

そして/etc/mt-daapd.confを編集しろとあるので.
$ sudo vi /etc/mt-daapd.conf

あー結構めんどい(というか,細かく解説するのがだんだんめんどくさくなってきた)

まずweb_rootを/usr/share/mt-daapd/admin-rootに直す.
db_dirにあるディレクトリをなければ作れというので/var/cache/mt-daapdを作る.
mp3_dirは,ファイルの置き場なので/home/davにしてみる.
servernameは自分なりのカッコいい名前にしてみる.

...うまくいかない
Googleしたら,こんなページがあった.なぜ,さっきぐぐった時はここが出なかったのだろう.
そのとおりにやってみる.
うーむ.

むむぅ...依存性のあるportsは自動的に取り込まれると思ったが,mt-daapdだとそうではないのだろうか?
/net/howlをインストール.libid3tagをインストール.インストールされているというのでmake deinstallしてみてからmake reinstall.mt-daapdも一回make deinstallしてみてからmake reinstall.
Launcelotさんの言うとおりに見てみると必要なディレクトリはみんなあるようだ.mp3_dirをDAVフォルダに直して.
シェルスクリプトをStart.

$ sudo /usr/local/etc/rc.d/mt-daapd.sh start
Password:
mt-daapd>_

あれ?何で入力待ちなの?え?エラーでもなくて?????
ぐぐっても何も出てこない.
なんかおかしいな.
と思って.
$ sudo /usr/local/etc/rc.d/mt-daapd.sh stop

ってやると普通に終わる.もう一回
$ sudo /usr/local/etc/rc.d/mt-daapd.sh start
Password:
mt-daapd>_

で適当に終わって
$ ps -a | grep mt-daapd
0:00.01 /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf
0:00.17 /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf
あら?動いてる.
おまけにiTuneにもサーバー名が出ている.
どうも腑に落ちない.
今日はここまで.
(なんたる結論でしょう)

<気が向けばつづく>

|

« iTune Music Serverを作ろう (5) | Main | mt-daapd再挑戦 »

FreeBSD」カテゴリの記事

Comments

What's up it's me, I am also visiting this web page daily, this site is in fact nice and the viewers are really sharing fastidious thoughts.

Posted by: http://www.dailymotion.com/video/x1wy2wx_bingo-blitz-cheats_videogames | July 10, 2014 at 03:02 PM

Greate post. Keep writing such kind of info on your blog. Im really impressed by it. Hi there, You have done an excellent job. I will definitely digg it and individually recommend to my friends. I am sure they'll be benefited from this site.

Posted by: dragons world hack tool | July 17, 2014 at 05:50 AM

I could not refrain from commenting. Very well written!

Posted by: Natasha | August 27, 2014 at 05:05 PM

Howdy! Would you mind if I share your blog with my myspace group? There's a lot of folks that I think would really enjoy your content. Please let me know. Many thanks

Posted by: http://pejekl23.soup.io/post/514218799/Make-Very-Own-Multi-Part-Forms | February 01, 2015 at 12:33 AM

An intriguing discussion is definitely worth comment. I do think that you need to publish more about this subject matter, it may not be a taboo subject but usually people don't talk about such topics. To the next! Many thanks!!

Posted by: http://www.kingsinnhuntsville.com/xe/?document_srl=3469823 | February 12, 2015 at 08:45 PM

It is appropriate time to make a few plans for the longer term and it's time to be happy. I've learn this put up and if I could I wish to suggest you some fascinating issues or tips. Maybe you could write subsequent articles regarding this article. I want to read more issues about it!

Posted by: http://wallinside.com/post-60085266-some-unique-kitchen-cabinets-door-styles-you-can-adhere-to.html | February 13, 2015 at 04:10 AM

Unquestionably consider that which you stated. Your favourite justification appeared to be on the web the easiest thing to take into account of. I say to you, I certainly get irked at the same time as folks consider issues that they plainly do not recognise about. You controlled to hit the nail upon the top and also defined out the entire thing without having side effect , people can take a signal. Will likely be again to get more. Thanks

Posted by: trademark registration in dubai | February 13, 2015 at 05:34 PM

obviously like your website but you have to take a look at the spelling on several of your posts. Several of them are rife with spelling problems and I in finding it very bothersome to inform the reality however I will definitely come back again.

Posted by: stickers printing | February 13, 2015 at 09:46 PM

If some one wishes expert view on the topic of blogging afterward i advise him/her to pay a visit this web site, Keep up the nice job.

Posted by: brand name registration in dubai | February 14, 2015 at 01:11 PM

Hi I am so glad I found your blog, I really found you by accident, while I was browsing on Aol for something else, Regardless I am here now and would just like to say cheers for a tremendous post and a all round entertaining blog (I also love the theme/design), I don't have time to go through it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the great job.

Posted by: best printing press in dubai | February 15, 2015 at 07:17 AM

fantastic issues altogether, you just received a logo new reader. What would you recommend in regards to your publish that you made a few days ago? Any certain?

Posted by: box printing | February 15, 2015 at 05:55 PM

Very good blog! Do you have any recommendations for aspiring writers? I'm hoping to start my own blog soon but I'm a little lost on everything. Would you advise starting with a free platform like Wordpress or go for a paid option? There are so many options out there that I'm completely overwhelmed .. Any tips? Thanks!

Posted by: dubai printing press | February 15, 2015 at 07:38 PM

I think what you composed made a bunch of sense. But, what about this? suppose you added a little content? I am not saying your information isn't solid., but what if you added a post title that grabbed a person's attention? I mean iTune Music Serverを作ろう (6): スコスコ blog is a little boring. You could look at Yahoo's home page and watch how they create article titles to grab viewers interested. You might add a related video or a picture or two to get readers excited about what you've got to say. In my opinion, it could bring your posts a little livelier.

Posted by: Trademark | February 16, 2015 at 09:42 PM

You need to take part in a contest for one of the finest sites on the net. I am going to recommend this web site!

Posted by: business card printing dubai | February 16, 2015 at 11:22 PM

Good day! I simply want to give you a big thumbs up for the excellent info you have got here on this post. I am returning to your web site for more soon.

Posted by: brand name registration in dubai | February 16, 2015 at 11:56 PM

What's up, I desire to subscribe for this web site to get newest updates, thus where can i do it please help out.

Posted by: how to register business name | February 17, 2015 at 01:41 AM

Definitely consider that which you said. Your favourite justification seemed to be at the internet the easiest factor to take note of. I say to you, I definitely get irked while other folks think about issues that they just do not recognise about. You managed to hit the nail upon the top and defined out the entire thing with no need side effect , other folks can take a signal. Will probably be again to get more. Thanks

Posted by: invoice books printing | February 17, 2015 at 02:22 AM

Hi, the whole thing is going sound here and ofcourse every one is sharing information, that's really good, keep up writing.

Posted by: best printing press in dubai | February 17, 2015 at 03:35 AM

My brother suggested I might like this website. He was totally right. This post actually made my day. You can not imagine just how much time I had spent for this information! Thanks!

Posted by: express document clearing | February 17, 2015 at 08:00 PM

Hello to all, it's in fact a nice for me to pay a quick visit this web site, it includes precious Information.

Posted by: document clearing | February 17, 2015 at 08:15 PM

Hello! This is my first visit to your blog! We are a group of volunteers and starting a new project in a community in the same niche. Your blog provided us valuable information to work on. You have done a outstanding job!

Posted by: trademark registration in dubai | February 19, 2015 at 04:03 AM

Superb, what a webpage it is! This web site gives valuable facts to us, keep it up.

Posted by: express document clearing dubai | February 19, 2015 at 08:09 AM

Pretty! This has been a really wonderful post. Thank you for supplying this info.

Posted by: document clearing companies dubai | February 19, 2015 at 03:28 PM

I am really inspired along with your writing abilities and also with the format on your weblog. Is that this a paid subject matter or did you customize it your self? Either way stay up the excellent high quality writing, it is rare to look a nice blog like this one today..

Posted by: trademark registration | February 19, 2015 at 10:08 PM

Greetings! I know this is kinda off topic however I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog post or vice-versa? My site addresses a lot of the same subjects as yours and I feel we could greatly benefit from each other. If you might be interested feel free to shoot me an email. I look forward to hearing from you! Awesome blog by the way!

Posted by: document clearing services | February 19, 2015 at 11:08 PM

Hey! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvellous job!

Posted by: document clearing dubai | February 19, 2015 at 11:45 PM

I just could not go away your website before suggesting that I really enjoyed the standard info a person supply to your visitors? Is going to be back frequently to inspect new posts

Posted by: roll up printing | February 20, 2015 at 12:52 AM

Hi there, this weekend is nice in favor of me, as this time i am reading this enormous informative article here at my home.

Posted by: trademark registration services | February 20, 2015 at 02:29 AM

Very soon this website will be famous among all blogging and site-building viewers, due to it's nice posts

Posted by: document clearing dubai | February 20, 2015 at 09:18 AM

Keep on writing, great job!

Posted by: printing press in dubai | February 20, 2015 at 08:03 PM

This design is wicked! You obviously know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Great job. I really loved what you had to say, and more than that, how you presented it. Too cool!

Posted by: trademark registration | February 21, 2015 at 11:46 PM

It's very effortless to find out any topic on net as compared to books, as I found this post at this website.

Posted by: brand name registration in dubai | February 22, 2015 at 02:17 AM

Hi, i believe that i saw you visited my blog thus i got here to go back the prefer?.I am attempting to find things to improve my site!I assume its good enough to make use of a few of your ideas!!

Posted by: business logo registration | February 22, 2015 at 03:11 AM

You can certainly see your enthusiasm in the work you write. The arena hopes for even more passionate writers such as you who are not afraid to mention how they believe. All the time go after your heart.

Posted by: registered trademark | February 22, 2015 at 03:29 AM

Yes! Finally someone writes about how to register trademark.

Posted by: trademark registration services | February 22, 2015 at 05:01 AM

Hi there! I'm at work browsing your blog from my new apple iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the superb work!

Posted by: trademark registration services | February 22, 2015 at 01:09 PM

Link exchange is nothing else but it is only placing the other person's web site link on your page at suitable place and other person will also do similar in support of you.

Posted by: international trademark registration | February 22, 2015 at 03:09 PM

Hi there! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard work due to no back up. Do you have any solutions to stop hackers?

Posted by: registered trademark | February 22, 2015 at 03:46 PM

Wow! This blog looks just like my old one! It's on a totally different subject but it has pretty much the same layout and design. Wonderful choice of colors!

Posted by: registered trademark | February 23, 2015 at 01:30 AM

It's appropriate time to make some plans for the future and it's time to be happy. I have read this post and if I could I want to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I desire to read even more things about it!

Posted by: document clearing companies dubai | February 23, 2015 at 08:44 AM

Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but instead of that, this is great blog. A fantastic read. I will certainly be back.

Posted by: brand name registration in dubai | February 25, 2015 at 12:33 AM

I will right away grab your rss as I can not in finding your e-mail subscription link or e-newsletter service. Do you've any? Please allow me recognize so that I could subscribe. Thanks.

Posted by: register trademark | February 25, 2015 at 11:19 PM

Spot on with this write-up, I seriously think this amazing site needs far more attention. I'll probably be returning to read more, thanks for the information!

Posted by: printing press companies in dubai | February 26, 2015 at 08:31 PM

Hello mates, nice post and nice arguments commented at this place, I am genuinely enjoying by these.

Posted by: box printing | February 27, 2015 at 12:20 AM

you are truly a just right webmaster. The site loading velocity is incredible. It seems that you're doing any distinctive trick. Moreover, The contents are masterpiece. you have performed a wonderful process in this matter!

Posted by: mahesh facebook | March 01, 2015 at 11:36 PM

always i used to read smaller articles or reviews that as well clear their motive, and that is also happening with this post which I am reading now.

Posted by: self publishing companies | March 05, 2015 at 08:56 PM

Article writing is also a excitement, if you know afterward you can write if not it is difficult to write.

Posted by: box printing | March 09, 2015 at 06:52 PM

These people being severe maladies and lots of medications, such as cortisone include recommended to cure all of them. When we try to muscle through in just belief as our military we are starting it the hard method. When you find yourself diagnosed with a gluten allergic reaction, then you definitely learn only too better whatever havoc this can lead to from ingesting gluten or even tough having hidden gluten in your daily diet.

Posted by: www.pulsaraviation.com | March 17, 2015 at 12:01 AM

Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn't appear. Grrrr... well I'm not writing all that over again. Anyway, just wanted to say fantastic blog!

Posted by: trademark registration in uae | April 09, 2015 at 06:05 PM

If some one wants to be updated with newest technologies after that he must be pay a quick visit this web site and be up to date everyday.

Posted by: V2 Media Advertising (Printing Press) | April 12, 2015 at 04:35 PM

Good way of explaining, and good paragraph to take information regarding my presentation subject matter, which i am going to convey in institution of higher education.

Posted by: printing press in dubai | April 16, 2015 at 12:23 AM

It's difficult to find experienced people for this topic, however, you seem like you know what you're talking about! Thanks

Posted by: printing press in dubai | April 16, 2015 at 02:19 AM

Having read this I thought it was extremely informative. I appreciate you finding the time and effort to put this information together. I once again find myself personally spending a significant amount of time both reading and commenting. But so what, it was still worth it!

Posted by: business card printing dubai | April 17, 2015 at 07:07 AM

I am really enjoying the theme/design of your website. Do you ever run into any web browser compatibility issues? A couple of my blog readers have complained about my site not working correctly in Explorer but looks great in Chrome. Do you have any ideas to help fix this issue?

Posted by: printing press in dubai | April 20, 2015 at 02:18 AM

Thank you for some other excellent post. Where else could anybody get that kind of information in such an ideal approach of writing? I've a presentation next week, and I am at the search for such information.

Posted by: business card printing dubai | April 20, 2015 at 07:42 AM

I have been browsing on-line greater than 3 hours today, but I by no means found any interesting article like yours. It is lovely value sufficient for me. In my opinion, if all site owners and bloggers made just right content material as you did, the internet can be much more useful than ever before.

Posted by: leaflet printing | April 22, 2015 at 02:06 PM

This is a topic that's near to my heart... Take care! Where are your contact details though?

Posted by: lettrhead printing | April 26, 2015 at 10:39 PM

Excellent way of explaining, and nice post to take data about my presentation topic, which i am going to convey in college.

Posted by: brochure printing dubai | May 01, 2015 at 12:45 AM

First off I want to say fantastic blog! I had a quick question that I'd like to ask if you do not mind. I was interested to know how you center yourself and clear your head prior to writing. I've had difficulty clearing my thoughts in getting my ideas out there. I truly do enjoy writing however it just seems like the first 10 to 15 minutes are usually lost simply just trying to figure out how to begin. Any suggestions or tips? Appreciate it!

Posted by: publicize | May 03, 2015 at 07:23 PM

It's truly very difficult in this full of activity life to listen news on Television, therefore I only use world wide web for that reason, and take the latest news.

Posted by: wedding gown package Singapore | May 07, 2015 at 04:07 PM

If some one desires expert view on the topic of blogging then i propose him/her to visit this webpage, Keep up the fastidious work.

Posted by: CT limo | May 16, 2015 at 03:52 PM

Wonderful beat ! I wish to apprentice while you amend your website, how could i subscribe for a blog website? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear idea

Posted by: AC Repair Thousand Oaks - Oxnard a/c Repair | May 21, 2015 at 10:36 AM

You've made some really good points there. I looked on the internet for additional information about the issue and found most people will go along with your views on this website.

Posted by: custom box manufacturer | June 02, 2015 at 03:13 AM

WOW just what I was looking for. Came here by searching for Paramotor trip

Posted by: Paramotor - Paramotoring | June 04, 2015 at 08:52 PM

What's up, I log on to your blogs on a regular basis. Your story-telling style is awesome, keep up the good work!

Posted by: HVAC Repair Simi Valley | June 06, 2015 at 11:02 PM

It is the best time to make some plans for the future and it is time to be happy. I've read this post and if I could I wish to suggest you few interesting things or advice. Maybe you could write next articles referring to this article. I desire to read even more things about it!

Posted by: Plumber Oxnard - Plumber Oak Park | June 11, 2015 at 05:58 AM

Very good info. Lucky me I came across your blog by chance (stumbleupon). I have book-marked it for later!

Posted by: a/c Repair Newbury Park | June 29, 2015 at 05:21 AM

This text is worth everyone's attention. When can I find out more?

Posted by: Cooling Simi valley | July 03, 2015 at 12:16 AM

Hello! I've been following your website for a long time now and finally got the courage to go ahead and give you a shout out from Humble Tx! Just wanted to mention keep up the excellent work!

Posted by: รับถ่าย vdo | July 03, 2015 at 02:21 PM

I couldn't resist commenting. Well written!

Posted by: www.youtube.com | July 03, 2015 at 08:54 PM

Recently Played: The past several games you've played are provided here. Additionally it is commonly used in lots of browser games, especially ones that will make use of ActionScript. I prefer walking in and browsing for hidden gems.

Posted by: Miles | July 04, 2015 at 11:07 PM

Free sort of the game comes with 1 map and 11 difficulty levels. You will be deeply challenged to eliminate all pieces from the board. Celebrate it seem less cartoony and a bit more able so that you can join in. You can battle other players live while you are fighting world war 2. SEO, Advertising and Social media marketing Approach: Advertise your arcade well. It's your job to see who they play against.

Posted by: criminal case cheats free download | July 08, 2015 at 09:43 AM

Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.

Posted by: smog check - auto body repair oxnard | July 20, 2015 at 03:00 PM

I all the time emailed this web site post page to all my associates, since if like to read it afterward my friends will too.

Posted by: Refrigeration Moorpark | July 23, 2015 at 02:29 PM

Have you ever considered writing an e-book or guest authoring on other blogs? I have a blog based on the same ideas you discuss and would really like to have you share some stories/information. I know my subscribers would appreciate your work. If you are even remotely interested, feel free to send me an e mail.

Posted by: body building | July 27, 2015 at 03:20 PM

This post provides clear idea designed for the new people of blogging, that genuinely how to do running a blog.

Posted by: as seen on tv grill mat | August 04, 2015 at 12:42 AM

I am extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it's rare to see a great blog like this one nowadays.

Posted by: AC Repair Thousand Oaks - Thousand oaks No Air | August 11, 2015 at 04:36 PM

ӏ for all timе emailed tɦіs webpage post pagе to all my friends, for tɦe reaskn that if like to гead iit neхt my links will toο.

Posted by: burberry bags | August 12, 2015 at 06:45 PM

May I simply just say what a comfort to discover somebody that genuinely understands what they're talking about on the web. You certainly realize how to bring a problem to light and make it important. A lot more people need to look at this and understand this side of your story. I was surprised you aren't more popular because you surely have the gift.

Posted by: Heating Moorpark | August 13, 2015 at 01:15 AM

Good day! This post could not be written any better! Reading through this post reminds me of my good old room mate! He always kept talking about this. I will forward this article to him. Fairly certain he will have a good read. Thanks for sharing!

Posted by: fantage hack | August 22, 2015 at 02:49 AM

ʜi there, I discovered уour web site ƅy wɑy oof Google ԝhile lookinbg fօr a simіlar matter, уouг web site gοt ɦere up, it appars good. I'ѵe bookmarked іt іn my google bookmarks. Heolo tҺere, simply tսrned into aware of үour blog tɦrough Google, аnd located that it'ѕ really informative. І'm gonna be careful fоr brussels. I will be grateful iin tɦе event үοu continue this in future. Numerous folks ѕhall be benefuted fгom your writing. Cheers!

Posted by: Burberry scarf sale | October 09, 2015 at 08:43 PM

I read this paragraph fully about the difference of most up-to-date and previous technologies, it's awesome article.

Posted by: dog supplies | December 17, 2015 at 12:00 PM

Post a comment



(Not displayed with comment.)




TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/37290/9296943

Listed below are links to weblogs that reference iTune Music Serverを作ろう (6):

» FreeBSDでiTunesサーバを作ってみた [Monologue]
前から気になっていた「【コラム】OS X ハッキング! 第100回 LinuxをiTunesサーバに仕立てる (MYCOM PC WEB)」を見ながらiTunesサーバを作ってみることにしました。 [Read More]

Tracked on April 03, 2006 at 06:41 AM

« iTune Music Serverを作ろう (5) | Main | mt-daapd再挑戦 »