Closed hav0ck closed 3 years ago
@hav0ck: Strange, looks right to me what you did. To make sure, I repeated your steps, doing a fresh install on Debian "stretch", but this shouldn't make a difference. For reference, this is my output from mopidyctl deps
$ sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-4.9.0-9-amd64-x86_64-with-debian-9.9
Python: CPython 2.7.13 from /usr/lib/python2.7
Mopidy: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Podcast: 2.0.3 from /usr/lib/python2.7/dist-packages
GStreamer: 1.10.4.0 from /usr/lib/python2.7/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.22.0
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mad
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
And this is my /etc/mopidy
directory structure:
$ ls -lR /etc/mopidy
/etc/mopidy:
total 12
-rw-r--r-- 1 root root 376 Jan 3 2017 logging.conf
-rw-r----- 1 mopidy root 277 Jan 3 2017 mopidy.conf
drwxr-xr-x 2 root root 4096 Aug 2 10:43 podcast
/etc/mopidy/podcast:
total 4
-rw-r--r-- 1 root root 274 Aug 2 10:43 Podcasts.opml
With this setup and your Podcasts.opml file, I get
$ mpc ls Podcasts
Podcasts/TED Radio Hour
Podcasts/BBC Radio Podcasts
Here are the same outputs on my system:
bert@HASS:~/hassio$ sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial
Python: CPython 2.7.12 from /usr/lib/python2.7
Mopidy: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 2.5.0 from /usr/local/lib/python2.7/dist-packages
Mopidy>=1.1.0: 2.2.3 from /usr/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy-Mobile: 1.9.0 from /usr/local/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=0.19: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Iris: 3.39.0 from /usr/local/lib/python2.7/dist-packages
setuptools>=3.3: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=2.0: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Local-Images>=1.0: 1.0.0 from /usr/local/lib/python2.7/dist-packages
uritools>=1.0: 1.0.1 from /usr/lib/python2.7/dist-packages
ipaddress>=1.0.6: 1.0.16 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1: 2.2.3 from /usr/lib/python2.7/dist-packages
ConfigObj>=5.0.6: 5.0.6 from /usr/local/lib/python2.7/dist-packages
six: 1.10.0 from /usr/lib/python2.7/dist-packages
requests>=2.0.0: 2.9.1 from /usr/lib/python2.7/dist-packages
tornado<5.0,>=3.2: 4.2.1 from /usr/lib/python2.7/dist-packages
Mopidy-Mopify: 1.6.1 from /usr/local/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=0.19: 2.2.3 from /usr/lib/python2.7/dist-packages
ConfigObj: 5.0.6 from /usr/local/lib/python2.7/dist-packages
six: 1.10.0 from /usr/lib/python2.7/dist-packages
Mopidy-Moped: 0.7.1 from /usr/local/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=1.0.0: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Local-Images: 1.0.0 from /usr/local/lib/python2.7/dist-packages
uritools>=1.0: 1.0.1 from /usr/lib/python2.7/dist-packages
ipaddress>=1.0.6: 1.0.16 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
setuptools: 20.7.0 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1: 2.2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Podcast: 2.0.3 from /usr/lib/python2.7/dist-packages
GStreamer: 1.8.3.0 from /usr/lib/python2.7/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.20.0
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mad
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
My /etc/mopidy directory structure:
ls -lR /etc/mopidy/
/etc/mopidy/:
total 12
-rw-r--r-- 1 root root 376 Jul 14 09:09 logging.conf
-rw-r----- 1 mopidy root 1873 Aug 1 15:47 mopidy.conf
drwxr-xr-x 2 mopidy root 4096 Aug 1 10:23 podcast
/etc/mopidy/podcast:
total 4
-rw-r--r-- 1 mopidy root 274 Aug 1 10:03 Podcasts.opml
But when I try the mpc command I get:
mpc ls Podcasts
The program 'mpc' is currently not installed. You can install it by typing:
sudo apt install mpc
Also this is the Podcast section in my mopidy.conf file
[podcast]
enabled = true
browse_root = Podcasts.opml
browse_order = desc
lookup_order = asc
cache_size = 64
cache_ttl = 86400
timeout = 30
im having the same issue right now, did you ever find a fix? i was able to test the URL (http://www.bbc.co.uk/podcasts.opml) and that loaded fine...
welp. i was able to make it work by hosting an opml file and linking to that. used https://www.listennotes.com/ for the service. currently browsing their library of feeds.
@hav0ck, @Estefanop: Any news on this? Never was able to reproduce this issue, so any additional hints would be welcome.
I just installed mopidy-podcast on my Ubuntu 18.04 server using
apt-get install mopidy-podcast
as per the installation instructions.I updated the mopidy.conf file and used the default config.
Then I went to /etc/mopidy/podcast and created the Podcasts.opml file with the following as the contents:
I restarted Mopidy with:
sudo systemctl restart mopidy
and while Podcasts showed up in Moped web interface there was nothing listed.I checked the log and found this entry:
ERROR [23256:PodcastBackend-3] mopidy_podcast.library: Error retrieving podcast+file:///etc/mopidy/podcast/Podcasts.opml: u'podcast+file:///etc/mopidy/podcast/Podcasts.opml'
I checked that the config had the proper file name. I also set the ownership of the podcast directory and Podcasts.opml file to mopidy:root (same as mopidy.conf) with no change.
Podcasts.opml has read permissions set for Owner-Group-Other so I don't understand why I am getting the error.