请选择 进入手机版 | 继续访问电脑版

『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: lidicn

Hass.io普及风暴系列教程 之 安装mpd[mopidy]播放器-实现有线tts

  [复制链接]

0

主题

53

帖子

188

积分

注册会员

Rank: 2

积分
188
金钱
135
HASS币
0
发表于 2017-9-25 15:11:57 | 显示全部楼层
就是有时候modipy的服务器会需要重启一下,不知道是什么原因
回复

使用道具 举报

0

主题

53

帖子

188

积分

注册会员

Rank: 2

积分
188
金钱
135
HASS币
0
发表于 2017-9-25 15:13:12 | 显示全部楼层
谢谢分享
回复

使用道具 举报

4

主题

134

帖子

672

积分

高级会员

Rank: 4

积分
672
金钱
538
HASS币
0
发表于 2017-10-3 20:27:21 | 显示全部楼层
starting version 3.2.2
(gst-plugin-scanner:19): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstdtls.so': Error relocating /usr/lib/gstreamer-1.0/libgstdtls.so: BIO_set_data: symbol not found
INFO     Starting Mopidy 2.1.0
INFO     Loading config from builtin defaults
INFO     Loading config from /var/lib/mopidy/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Creating dir /root/.config/mopidy
INFO     Enabled extensions: mpd, http, moped, stream, m3u, softwaremixer, file, local, local-sqlite
INFO     Disabled extensions: gmusic
WARNING  Found gmusic configuration errors, the extension has been automatically disabled:
WARNING    gmusic/username must be set.
WARNING    gmusic/password must be set.
WARNING  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     Found 0 files in media_dir.
WARNING  Encountered 1 errors while scanning media_dir.
INFO     Checking 0 tracks from library.
INFO     Removing 0 missing tracks.
INFO     Found 0 tracks which need to be updated.
INFO     Scanning...
INFO     Scanned 0 of 0 files in 0s.
INFO     Done scanning.
INFO     Starting Mopidy 2.1.0
INFO     Loading config from builtin defaults
INFO     Loading config from /var/lib/mopidy/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Enabled extensions: mpd, http, moped, stream, m3u, softwaremixer, file, local, local-sqlite
INFO     Disabled extensions: gmusic
WARNING  Found gmusic configuration errors, the extension has been automatically disabled:
WARNING    gmusic/username must be set.
WARNING    gmusic/password must be set.
WARNING  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     Starting Mopidy mixer: SoftwareMixer
INFO     Starting Mopidy audio
INFO     Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend
INFO     Audio output set to "autoaudiosink"
WARNING  Local media dir /share/mopidy/media does not exist or we lack permissions to the directory or one of its parents
INFO     Loaded 0 local tracks using sqlite
INFO     Starting Mopidy core
ERROR    M3UBackend backend caused an exception.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mopidy/core/playlists.py", line 18, in _backend_error_handling
    yield
  File "/usr/lib/python2.7/site-packages/mopidy/core/playlists.py", line 66, in as_list
    playlists = future.get()
  File "/usr/lib/python2.7/site-packages/pykka/threading.py", line 52, in get
    compat.reraise(*self._data['exc_info'])
  File "/usr/lib/python2.7/site-packages/pykka/compat.py", line 12, in reraise
    exec('raise tp, value, tb')
  File "/usr/lib/python2.7/site-packages/pykka/actor.py", line 201, in _actor_loop
    response = self._handle_receive(message)
  File "/usr/lib/python2.7/site-packages/pykka/actor.py", line 295, in _handle_receive
    return callee(*message['args'], **message['kwargs'])
  File "/usr/lib/python2.7/site-packages/mopidy/m3u/playlists.py", line 69, in as_list
    for entry in os.listdir(self._playlists_dir):
OSError: [Errno 2] No such file or directory: '/share/mopidy/playlists'
INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend
INFO     MPD server running at [::ffff:0.0.0.0]:6600
INFO     HTTP server running at [::ffff:0.0.0.0]:6680
INFO     Starting GLib mainloop
回复

使用道具 举报

8

主题

148

帖子

2676

积分

金牌会员

Rank: 6Rank: 6

积分
2676
金钱
2523
HASS币
30
发表于 2017-10-5 17:23:40 | 显示全部楼层
成功了,谢谢
回复

使用道具 举报

21

主题

178

帖子

1548

积分

金牌会员

Rank: 6Rank: 6

积分
1548
金钱
1370
HASS币
0
发表于 2017-10-6 22:41:24 | 显示全部楼层
楼主,MPD如果TTS快了会死掉,这是为什么呢?有什么办法处理?
回复

使用道具 举报

21

主题

178

帖子

1548

积分

金牌会员

Rank: 6Rank: 6

积分
1548
金钱
1370
HASS币
0
发表于 2017-10-8 18:23:21 | 显示全部楼层
MPD有线tts,有时候mpd会死掉,显示 UNAVAILABLE  ,是怎么回事呢?这是不是mpd的一个bug?
回复

使用道具 举报

220

主题

1284

帖子

7843

积分

超级版主

Rank: 8Rank: 8

积分
7843
金钱
6529
HASS币
86

教程狂人论坛风云人物突出贡献

 楼主| 发表于 2017-10-9 09:48:25 | 显示全部楼层
wojoco 发表于 2017-10-8 18:23
MPD有线tts,有时候mpd会死掉,显示 UNAVAILABLE  ,是怎么回事呢?这是不是mpd的一个bug? ...

重启hassio一般就正常了。
回复

使用道具 举报

0

主题

76

帖子

268

积分

中级会员

Rank: 3Rank: 3

积分
268
金钱
192
HASS币
0
发表于 2017-10-14 19:42:07 | 显示全部楼层
谢谢分享!!
回复

使用道具 举报

30

主题

441

帖子

1614

积分

金牌会员

Rank: 6Rank: 6

积分
1614
金钱
1173
HASS币
0
QQ
发表于 2017-10-28 23:17:41 | 显示全部楼层
我的是raspberry装的hass,不是hass.io,怎么装mpd呢?求指导?
回复

使用道具 举报

30

主题

441

帖子

1614

积分

金牌会员

Rank: 6Rank: 6

积分
1614
金钱
1173
HASS币
0
QQ
发表于 2017-10-29 20:39:09 | 显示全部楼层
hassbian如何用sudu命令安装mpd呢?然后在configuration怎么写配置文件呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-29 12:35 , Processed in 0.057071 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表