2021年12月12日 星期日

Denon 與一些擴大機品牌無法再接收 internet radio 問題

 根據網路上的訊息,

一些擴大機的 internet radio 應該都是使用 vtune 的服務,

由 vtune 提供一堆整理過的 internet radio 的列表/搜尋,

但是 vtune 後來決定將服務變成要收費,

所以一堆擴大機的 internet radio 都變空了.

所以只要找到一個方式完全取代 vtune 的內容,

就可以讓原來的 internet radio 部分重生.

其中一個方式就是用 ycast

https://pypi.org/project/ycast/

可以在 raspberry pi 上灌 ycast 之後,

並且提供 DNS redirect 的方法,

將原本讀取 *.vtune.com 的 DNS 動作, 

都導到 raspberry pi 上

  • Yamaha AVRs: radioyamaha.vtuner.com (and optionally radioyamaha2.vtuner.com)
  • Onkyo AVRs: onkyo.vtuner.com (and optionally onkyo2.vtuner.com)
  • Denon/Marantz AVRs: denon.vtuner.com (and optionally denon2.vtuner.com)
  • Grundig radios: grundig.vtuner.com, grundig.radiosetup.com (and optionally grundig2.vtuner.com and grundig2.radiosetup.com)

再將擴大機的網路設定, 把 DNS server 指向 redirect 的機器


2021年11月23日 星期二

XBOX original remote on OSMC issue

 最主要的問題在於, 最新的 OSMC 19 做的一些改變 :

 (1). 換成用 gpio-ir-recv 及 gpio-ir-tx

 (2). lircd 的參數(原本從 hardware.conf 或 lirc_option.conf 指定)

   要將 driver 從 devinput 換成 default

  (1) 造成的影響, 會造成在 /boot/config.txt(或 config-user.txt) 中

  dtoverlay=lirc-rpi,...   的修改, 變成 

  dtoverlay=gpio-ir,...

  而這部分直接在 OSMC config->RPI config->hardware 中

  可以透過 UI 就可以修改

  (2) 造成的影響, 原本使用 raw 方式操作的程式,

  例如 mode2 或 irrecord, 收到的資料方式不同.

  所以如果用 devinput, 應該就是針對現成的格式 decode,

  例如 rc-5, 如果用 default, 就是用 raw timing. 因為

  xbox original remote 不是用標準格式可以解, 一定要走

  raw timing 方式, 不然就要搭配原本 xbox 的 IR 接收器,

  走 USB 進 RPi.


  有關於 devinput 及 default driver 的差別, 可以參考

https://stackoverflow.com/questions/62646773/lirc-driver-option-default-vs-devinput

   The devinput driver uses the kernel decoder, and feeds these decoded events to the lircd fifo. This fifo is what clients read from.

The default driver reads raw timing data from the kernel and makes it's own decoding using lircd.conf.

 In general, if the devinput driver works it could safely be used and is a simpler setup. The default driver is useful in contexts where the kernel decoding doesn't work for example when a remote isn't supported by the kernel or there is a need to send (blast) ir signals -- the latter cannot be done using the devinput driver. 

  Xbox original remote 的 config 檔, 可以參考

  https://forum.libreelec.tv/thread/12272-xbox-original-remote-on-kodi-leia-problems-to-create-keytable-no-events/ 


2021年4月6日 星期二

DVDStyler 無法 build 出 image 的問題

問題描述 : 

如果檔名有中文, 不管在 Win10 or Win7 下,

都會導致 build image 時, 呼叫 ffmpeg-vbr.bat 時有一些 error,

產生不了 vob, 因此無法產生最終 image.

解決方法:

編輯 ffmpeg-vbr.bat, 在檔案第一行加入

chcp 65001

原因解釋 :

直接開啟 MS-DOS 視窗, 內定的編碼(code page)

通常不是 ANSI, 就是 65000,

但是 DVDStyler 傳入的非 ANSI 字元, 為 UTF-8,

所以要將 code page 改為 65001(UTF-8),

這樣 ffmpeg-vbr 接到的路徑字串才正確.