2
- Ubuntu 17.04
- Liquid Soap 1.1.1 installed by apt-get
- Liquid Soap 1.3.1 installed by OPAM
1.1.1,我不能用AAC +編碼器。所以我已經安裝了帶有AAC +支持的1.3.1。但是使用相同的.liq文件,兩個版本的行爲都不相同。
出於某種原因,1.1的作品,不是1.3:
def my_request_function() =
# Get the first line of my external process
result = list.hd(get_process_lines("php -q liquid.php"))
# Create and return a request using this result
request.create(result)
end
錯誤:
At line 17, char 24:
this value has type
(default:_)->_ (inferred at line 15, char 19-58)
but it should be a subtype of
string
我想讀的PHP腳本中的 「下一首歌曲」。在1.1.1上使用MP3(+ icecast2),但由於我需要AAC +,我使用1.3.1,我無法弄清楚如何讀取外部腳本。
任何想法?謝謝。
謝謝!工作正常! – Arvy