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

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

[複製鏈接]
 樓主| 發表於 2013-4-5 11:39:33 | 顯示全部樓層
本帖最後由 obee 於 2013-5-2 11:49 編輯

Cubox (+MPD) Image
做左個 image 係用日本人Mr. Yo 2012-12-22 的 cubox image 改的 (http://www.symphonic-net.com/kub ... rticles013.html#011). 做了以下改動:
1. Delete 了日文 local, 只有 US English locale
2. 安裝了 lighttpd web server (http://en.wikipedia.org/wiki/Lighttpd), 這個 web server 係俾 MPD client (如 ipad 上的 mpad) 上以搵到 CD cover image, 如果你的歌係 FLAC / AIFF, 咁就唔需要.
3. MPD 的 configuration 位置改了: 如果無 NAS 的話, 佢會用 RAM drive 上的空間. 如果有 NAS 的話, 佢會將 MPD 的 music database 寫在 NAS 的 ".mpdConf/cubox" 內. 咁下次開機唔使再 full scan music database
4. 支援有歌的 USB 手指插入後會 auto mount 同 update MPD 的 music database, 如果抽出, 佢會自動 update MPD 的 music database, 將 usb 的歌在 MPD 中刪除.
5. 支援read-only filesystem, 即係你可以任何時間斷Cubox 的電, 但 micro SD 又唔會壞.

可以去下載, 并用"Image Writer for Windows" 去寫. 建議搵多一隻 micro SD 去試, 因為可能有問題不能 boot 起. 一般 1-2分鐘便可boot 完 ssh 到, 如果超過2分鐘都不能 SSH 咁即係在你的情況不能 boot... 我都唔知點解, 但有可能發生.

https://docs.google.com/file/d/0 ... nM/edit?usp=sharing

boot 到 cubox 之後, 先改番個佢做read-write mode:
  1. mount -o remount,rw /
複製代碼
再用 editor (如 vi, nano) edit 番個 /etc/fstab, 如下,
  1. 192.168.1.2:/volume1/music /run/music nfs soft,rsize=130048,wsize=4096,fg,retry=0,nolock 0 0
複製代碼
(把"192.168.1.2:/volume1/music" 改成你的設定)
再 reboot, 咁就再 scan music database 加入你 NAS 內的歌.
回復

使用道具 舉報

發表於 2013-4-6 14:13:23 | 顯示全部樓層
請問Obee Ching,
你用緊边隻品牌型号DAC?睇吓有無方法 Diy 個I2S輸入比個DAC!
回復

使用道具 舉報

發表於 2013-4-9 02:30:20 | 顯示全部樓層
Obee ching 我己有pogoplug 插了電源同LAN線後 前面既燈冇著到只得後面LAN線燈有著這是否正常THX
回復

使用道具 舉報

發表於 2013-4-13 13:52:03 | 顯示全部樓層
賣晒啦!
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 13:58:00 | 顯示全部樓層
Jacky820 發表於 2013-4-13 13:52
賣晒啦!

終於都賣晒, 好呀, 歸邊啦, 我之前買落嘅可以散貨啦.
回復

使用道具 舉報

發表於 2013-4-13 17:09:55 | 顯示全部樓層
obee 發表於 2013-4-13 13:58
終於都賣晒, 好呀, 歸邊啦, 我之前買落嘅可以散貨啦.

預我一隻!訂左cubox未送到!
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 17:13:40 | 顯示全部樓層
Jacky820 發表於 2013-4-13 17:09
預我一隻!訂左cubox未送到!

我講笑炸. 我有3隻, 1隻自用, 1隻有個FRIEND想要, 1隻會送俾另一個FRIEND(佢唔係香港買唔到)
Cubox 正野, 值得等!
回復

使用道具 舉報

發表於 2013-4-13 17:23:47 | 顯示全部樓層
obee 發表於 2013-4-13 17:13
我講笑炸. 我有3隻, 1隻自用, 1隻有個FRIEND想要, 1隻會送俾另一個FRIEND(佢唔係香港買唔到)
Cubox 正野, ...

ching, seem you own 2!
1 x Cubox
1 X pogoPlug V2
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 18:34:38 | 顯示全部樓層
Jacky820 發表於 2013-4-13 17:23
ching, seem you own 2!
1 x Cubox
1 X pogoPlug V2

Yes.
I have Cubox first, then know pogoplug so I go out to buy and try.
回復

使用道具 舉報

發表於 2013-4-13 18:37:17 | 顯示全部樓層
Do you tried voyage? I am trying to install to my Acer A150 netbook with 4GB SD card. So far have no error but cannot access the web GUI.
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 18:43:12 | 顯示全部樓層
Jacky820 發表於 2013-4-13 18:37
Do you tried voyage? I am trying to install to my Acer A150 netbook with 4GB SD card. So far have no ...

I tried Voyage starter kit and installed Voyage on Virtual machine before. As I know, there's no web UI...
回復

使用道具 舉報

發表於 2013-4-13 18:52:58 | 顯示全部樓層
Oh.... I guess it has the web interface with webmin.
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 19:03:08 | 顯示全部樓層
Jacky820 發表於 2013-4-13 18:52
Oh.... I guess it has the web interface with webmin.

No, it is also "MPD on Linux"
回復

使用道具 舉報

發表於 2013-4-13 20:55:57 | 顯示全部樓層
Jacky820 發表於 2013-4-13 18:37
Do you tried voyage? I am trying to install to my Acer A150 netbook with 4GB SD card. So far have no ...

No, it is not Webmin.  You just type the IP address of the starter kit and it will bring you to a quite basic interface.  You can control start, stop and update of the mpd.  It also allow you to change the mpd.conf file.
回復

使用道具 舉報

發表於 2013-4-13 20:58:52 | 顯示全部樓層
Obee Ching,
I have bought Odroid U2 from www.hardkernel.com
and hope to play MPD on Ubuntu / Android same as you in Cubox。
希望成功出聲
回復

使用道具 舉報

發表於 2013-4-13 21:07:35 | 顯示全部樓層
I have installed the Voyage to SD card but dont know what is next? ,.......
Screen Shot 2013-04-13 at 9.06.48 PM.png
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 21:22:27 | 顯示全部樓層
Jacky820 發表於 2013-4-13 21:07
I have installed the Voyage to SD card but dont know what is next? ,.......

Either plug in a USB key with music, or edit /etc/fstab to include your NAS share to mpd music folder (then reboot)
Next, use ipad or android and open mpd client app, you should see "voyage".
回復

使用道具 舉報

發表於 2013-4-13 21:42:04 | 顯示全部樓層
obbe hing, may I know the path or method for mount the NAS?
回復

使用道具 舉報

 樓主| 發表於 2013-4-13 22:02:17 | 顯示全部樓層
Jacky820 發表於 2013-4-13 21:42
obbe hing, may I know the path or method for mount the NAS?

Please refer to my tutorial in first page. Since I don't have Voyage, I don't know exact the music path.
回復

使用道具 舉報

發表於 2013-4-13 22:20:52 | 顯示全部樓層
Thanks!
other error now....
Screen Shot 2013-04-13 at 10.18.50 PM 1.png
回復

使用道具 舉報

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

本版積分規則

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

GMT+8, 2025-11-11 01:32 , Processed in 0.045265 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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