找回密碼
 新用戶註冊
搜索
熱搜: hifi av 音樂
樓主: obee

[CAS] 又平又正的 CAS (MPD on Linux) - 2013-05-02

[複製鏈接]
發表於 2013-3-10 12:36:30 | 顯示全部樓層
本帖最後由 la3090 於 2013-3-10 12:37 編輯
obee 發表於 2013-3-10 10:25
Make sure you have the "wireless icon" light on first. And check the status of connection, if not  ...


個WIRELESS ICON 冇著到燈, 但IP ADDRESS冇錯的, 我都係用一個IP來CONNECT PUTTY, 同睇住ROUTER 個IP來SET的. 是否有其他野做錯了呢.

我用瀏覽器開個IP, 佢係SHOW左 It'S Work !!

回復

使用道具 舉報

 樓主| 發表於 2013-3-10 16:51:06 | 顯示全部樓層
la3090 發表於 2013-3-10 12:36
個WIRELESS ICON 冇著到燈, 但IP ADDRESS冇錯的, 我都係用一個IP來CONNECT PUTTY, 同睇住ROUTER 個IP來SE ...

聽師兄咁講,你應該清楚個IP address,有兩個可能性較大:
1。你的iPad 上的mpad set 錯左
2。你的mpd無著或者著唔到

請你影張相show番你個Mpd set connection 嘅內容先。
另外,可以ssh入去,打以下command:
"netstat -tan | grep 6600"
如果有野出嚟,即係mpd係行緊可以連接。
穩陣可以打埋以下command double confirm
"ps -A | grep mpd"
如果又有野出,即係mpd行緊。
回復

使用道具 舉報

發表於 2013-3-10 17:45:29 | 顯示全部樓層
obee 發表於 2013-3-10 16:51
聽師兄咁講,你應該清楚個IP address,有兩個可能性較大:
1。你的iPad 上的mpad set 錯左
2。你的mpd無 ...

請你影張相show番你個Mpd set connection 嘅內容先。


是否IPAD個SETTING ?
回復

使用道具 舉報

 樓主| 發表於 2013-3-10 19:17:06 | 顯示全部樓層
la3090 發表於 2013-3-10 17:45
是否IPAD個SETTING ?

是iPad 內的mpad 的setting
回復

使用道具 舉報

發表於 2013-3-10 21:57:19 | 顯示全部樓層
obee 發表於 2013-3-10 16:51
聽師兄咁講,你應該清楚個IP address,有兩個可能性較大:
1。你的iPad 上的mpad set 錯左
2。你的mpd無 ...

咁算唔算正常 ?

擷取.JPG

回復

使用道具 舉報

發表於 2013-3-10 22:02:06 | 顯示全部樓層
obee 發表於 2013-3-10 19:17
是iPad 內的mpad 的setting

回復

使用道具 舉報

 樓主| 發表於 2013-3-10 22:46:22 | 顯示全部樓層
本帖最後由 obee 於 2013-3-10 22:47 編輯
la3090 發表於 2013-3-10 21:57
咁算唔算正常 ?


正常

But I just found I forget to tell u to do something, give me some time.
回復

使用道具 舉報

 樓主| 發表於 2013-3-10 23:21:29 | 顯示全部樓層
la3090 發表於 2013-3-10 22:02


This is what my cubox setting:
root@cubox ~ 1032013 225257.jpg

I just found from your screen that I forget to tell u to modify mpd.conf so that it listens to all the network interface, not just the 127.0.0.1 (itself only). It should also listen to the network for others to connect to (e.g. ipad)

Please do the following, my apology for the missing step:
  1. sed -i 's/bind_to_address/#bind_to_address/g' /etc/mpd.conf
複製代碼
Then restart mpd, and run the "netstat" command again (as you did before), see if the listening IP is now changed to "0.0.0.0" or not. (0.0.0.0 means listening to every interfaces)
回復

使用道具 舉報

發表於 2013-3-10 23:37:16 | 顯示全部樓層
obee 發表於 2013-3-10 23:21
This is what my cubox setting:

擷取.JPG
出左0.0.0.0, IPAD都見左WIRELESS個ICON著左, 但都係見唔到D歌
回復

使用道具 舉報

 樓主| 發表於 2013-3-10 23:50:59 | 顯示全部樓層
la3090 發表於 2013-3-10 23:37
出左0.0.0.0, IPAD都見左WIRELESS個ICON著左, 但都係見唔到D歌


It shows that yous ipad is connected, are you sure you have music inside?
type this command to see what's in music library:
  1. ls /var/lib/mpd
複製代碼
If nothing inside, that means no music.
回復

使用道具 舉報

發表於 2013-3-11 00:05:32 | 顯示全部樓層
obee 發表於 2013-3-10 23:50
It shows that yous ipad is connected, are you sure you have music inside?
type this command to see ...

我打 ls /var/lib/mpd/music 先見到music folder

打 ls /var/lib/mpd/ 就出
music playlist state tag_cache
回復

使用道具 舉報

 樓主| 發表於 2013-3-11 00:18:28 | 顯示全部樓層
la3090 發表於 2013-3-11 00:05
我打 ls /var/lib/mpd/music 先見到music folder

打 ls /var/lib/mpd/ 就出

Oh yes,
Any music folders inside?
If yes, type this command:
  1. tail -f /var/log/mpd/mpd.log
複製代碼
then you go back to ipad, press "update database". You should see lot of text coming out. Wait for few minutes (for example, if you have 500G music, it takes over 10 minutes)
IMG_5677-001.JPG

After few minutes (no need wait until it stops rolling new text messages), press "refresh local cache" on ipad, you can now start play some music.

After the scanning is completed (no new text keep rolling out), press "refresh local cache" again, and you can get full image of music library on your ipad.
回復

使用道具 舉報

發表於 2013-3-11 00:42:06 | 顯示全部樓層
擷取.JPG

唉...都係唔得!! 睇泥我應該放棄好了!!!

回復

使用道具 舉報

 樓主| 發表於 2013-3-11 00:48:19 | 顯示全部樓層
la3090 發表於 2013-3-11 00:42
唉...都係唔得!! 睇泥我應該放棄好了!!!


nothing come out from mpd log file after connected in ipad and press "update database"?

You are almost done la. Just last step.
btw, you can ignore the "PCM..." warning message, no harm
回復

使用道具 舉報

發表於 2013-3-11 01:08:51 | 顯示全部樓層
obee 發表於 2013-3-11 00:48
nothing come out from mpd log file after connected in ipad and press "update database"?

You are a ...

PRESS UPDATE DATABASE LA...
BUT NOTHING COME OUT.
回復

使用道具 舉報

發表於 2013-3-11 01:27:03 | 顯示全部樓層
再用ANDROID DOWNLOAD左MPDROID



都冇野出!!



回復

使用道具 舉報

 樓主| 發表於 2013-3-11 09:43:57 | 顯示全部樓層
la3090 發表於 2013-3-11 01:08
PRESS UPDATE DATABASE LA...
BUT NOTHING COME OUT.


I don't have Android Pad, for Apple iPAD, I did once again from the beginning following my tutorial on page 1, after the "sed" command, I can connect from iPad. Then I press "update database", it shows the music library is building... Below is what I did:

1. Run the "tail" command to monitor the mpd.log
2. Press the icon in "connection" menu in mPAD
3. After connected, in "setting" menu, press "update database"
4. The mpd.log will keep rolling music files
5. After few minutes, back to ipad - mpad, press "refresh local cache", music files appear (it takes long time to refresh, over 1 minute).
回復

使用道具 舉報

發表於 2013-3-11 11:33:13 | 顯示全部樓層
唔該哂obee既詳細解釋, 但小弟資質有限.

在此謝過!!

回復

使用道具 舉報

發表於 2013-3-11 12:05:48 | 顯示全部樓層
just installed mpd on my pogoplug. Thanks.

But it's in version 0.15.12 and doesn't support DSD. Any Ching knows where to get a version that Support DSD?
回復

使用道具 舉報

 樓主| 發表於 2013-3-11 12:12:15 | 顯示全部樓層
derek_chan 發表於 2013-3-11 12:05
just installed mpd on my pogoplug. Thanks.

But it's in version 0.15.12 and doesn't support DSD. An ...


ching, it shows that you really done. (because I didn't say this versioning issue)

Latest version of MPD is 0.17, it supports DSD. I also found that the mpd comes with apt in pogoplug not latest version. The workaround now is to "download and compile" mpd yourself. I did this and got version 0.17 loaded.

As it is too complicated to mention this (compile) thing in this post, so I didn't mention.
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 新用戶註冊

本版積分規則

Archiver|小黑屋|聯絡我們|刊登廣告|Hiendy.com 影音俱樂部 一個屬於音響愛好者的家

GMT+8, 2024-4-17 00:52 , Processed in 0.055376 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回復 返回頂部 返回列表