Access mopidy from ipad

Hi, I’m new to this, so probably making some basic mistake.

I installed Mopidy on Raspbian.
I can access mopidy (and iris) from my web browser on my pc, but cannot from my ipad. Does anyone know how I can do that?
The ipad says the site cant be reached.

sudo mopidyctl config

Summary

Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =

[audio]
mixer = software
mixer_volume =
output = alsasink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[youtube]
enabled = false ; Extension disabled by self check.

[radionet]
enabled = true
language = net
min_bitrate = 96
favorite_stations =
‘bbcradio1’
‘bbcradio2’
‘thetrip’
‘nectarine’
‘bbcradio6music’
‘espnhouston’

[local]
enabled = true
max_search_results = 100
media_dir = /var/lib/mopidy/media
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
.cue
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week’s Updates local:directory?max-age=604800
Last Month’s Updates local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files =
*.jpg
*.jpeg
*.png

[iris]
enabled = true
country = NZ
locale = en_NZ
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
data_dir = $XDG_DATA_DIR/iris

[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /var/lib/mopidy/playlists

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000

[tunein]
enabled = true
timeout = 5000
filter =

[spotify]
enabled = true
username = pebmtwebster@gmail.com
password = ********
client_id = 0ed263b1-9c9f-4ccd-a273-447182c69d13
client_secret = ********
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =

sudo mopidyctl deps

Summary

Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-5.10.17-v7l±armv7l-with-debian-10.9
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.57.6 from /usr/local/lib/python3.7/dist-packages
Pykka: 3.0.1 from /usr/local/lib/python3.7/dist-packages
importlib-metadata: 4.0.1 from /usr/local/lib/python3.7/dist-packages
typing-extensions: 3.10.0.0 from /usr/local/lib/python3.7/dist-packages
zipp: 3.4.1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-Spotify: 4.1.0 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.2.1 from /usr/local/lib/python3.7/dist-packages
uritools: 3.0.2 from /usr/local/lib/python3.7/dist-packages
Pykka: 3.0.1 from /usr/local/lib/python3.7/dist-packages
importlib-metadata: 4.0.1 from /usr/local/lib/python3.7/dist-packages
typing-extensions: 3.10.0.0 from /usr/local/lib/python3.7/dist-packages
zipp: 3.4.1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-TuneIn: 1.1.0 from /usr/lib/python3/dist-packages
Mopidy-RadioNet: 0.2.2 from /usr/local/lib/python3.7/dist-packages
uritools: 3.0.2 from /usr/local/lib/python3.7/dist-packages
Pykka: 3.0.1 from /usr/local/lib/python3.7/dist-packages
importlib-metadata: 4.0.1 from /usr/local/lib/python3.7/dist-packages
typing-extensions: 3.10.0.0 from /usr/local/lib/python3.7/dist-packages
zipp: 3.4.1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy-YouTube: 3.3 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Pykka: 3.0.1 from /usr/local/lib/python3.7/dist-packages
importlib-metadata: 4.0.1 from /usr/local/lib/python3.7/dist-packages
typing-extensions: 3.10.0.0 from /usr/local/lib/python3.7/dist-packages
zipp: 3.4.1 from /usr/local/lib/python3.7/dist-packages
cachetools: 4.2.2 from /usr/local/lib/python3.7/dist-packages
youtube-dl: 2021.4.26 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.1.1 from /usr/lib/python3/dist-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
ytmusicapi: 0.16.0 from /usr/local/lib/python3.7/dist-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
beautifulsoup4: 4.7.1 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad

sudo journalctl -u mopidy

Summary

May 15 09:54:19 raspberrypimusic systemd[1]: Starting Mopidy music server…
May 15 09:54:19 raspberrypimusic systemd[1]: Started Mopidy music server.
May 15 09:54:23 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.main Starting Mopidy 3.1.1
May 15 09:54:23 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.config Loading config from builtin defaults
May 15 09:54:23 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
May 15 09:54:23 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
May 15 09:54:23 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.config Loading config from command line options
May 15 09:54:24 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.ext Disabled extension youtube: (requests 2.21.0 (/usr/lib/python3/dist-packages), Requirement.parse(‘requests>=2.22’), {‘ytmusicapi’})
May 15 09:54:24 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.main Enabled extensions: radionet, softwaremixer, local, m3u, file, iris, spotify, tunein, stream, http
May 15 09:54:24 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.main Disabled extensions: youtube
May 15 09:54:26 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
May 15 09:54:26 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting Mopidy audio
May 15 09:54:26 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting Mopidy backends: RadioNetBackend, LocalBackend, FileBackend, M3UBackend, StreamBackend, TuneInBackend, SpotifyBackend
May 15 09:54:26 raspberrypimusic mopidy[517]: WARNING [MainThread] mopidy_local.storage Local media dir /var/lib/mopidy/media does not exist or we lack permissions to the directory or one of its parents
May 15 09:54:26 raspberrypimusic mopidy[517]: INFO [Audio-2] mopidy.audio.actor Audio output set to “alsasink”
May 15 09:54:26 raspberrypimusic mopidy[517]: ERROR [SpotifyEventLoop] spotify.session Spotify login error: <ErrorType.OTHER_PERMANENT: 10>
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [SpotifyBackend-9] mopidy_spotify.web Logged into Spotify Web API as fzyqjytbswx14q0khuk3gjg8n
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [SpotifyBackend-9] mopidy_spotify.playlists Refreshed 0 Spotify playlists
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting Mopidy core
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: IrisFrontend, HttpFrontend
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [IrisFrontend-13] mopidy_iris.core Starting Iris 3.57.6
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [HttpFrontend-15] mopidy.http.actor HTTP server running at [::ffff:0.0.0.0]:6680
May 15 09:54:35 raspberrypimusic mopidy[517]: INFO [MainThread] mopidy.commands Starting GLib mainloop
~

What address are you trying to access it on? Have you tried hostname and IP address? Are you remembering to add the port?
Is it definitely connected to the same network? You’re not using a VPN or proxy?

If I type hostname -i it tells me 127.0.1.1.
I’m using remote.it and when I click on VNC it says the hostname is 10.0.0240.
From the raspberry pi 127.0.1.1:6680 or 10.0.0.240:6680 or raspberrypimusic:6680 all work
From the pc only 10.0.0.240:6680 or raspberrypimusic:6680 work
And from my ipad only 10.0.0.240:6680 works

Does that make any sense?
I’m using remote.it

I think the ip address changed. I could have sworn it used to be 127.0.0.1
I also get no sound now with the error:

May 15 14:52:48 raspberrypimusic mopidy[2282]: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed
May 15 14:52:48 raspberrypimusic mopidy[2282]: WARNING [Core-12] mopidy.core.tracklist Track is not playable: spotify:track:19YmvsVCetCBeVj6O2mljR
May 15 14:52:48 raspberrypimusic mopidy[2282]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open audio device for playback. Device is being used by another application.
May 15 14:52:48 raspberrypimusic mopidy[2282]: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed

127.0.0.1, like localhost, just means “this computer”. You wouldn’t be able to access another device using that address.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.