Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local library - "resource not found" from scan. #28

Open
jmbillings opened this issue Feb 12, 2015 · 7 comments
Open

Local library - "resource not found" from scan. #28

jmbillings opened this issue Feb 12, 2015 · 7 comments

Comments

@jmbillings
Copy link

I'm using Pi Musicbox, which is backed by Mopidy.
I've added a samba share to a USB drive plugged into my router, and can see all the music folders if I run "ls" from ssh.

When my Pi starts up, the scan kicks in (I can hear the drive chuntering away), but I never get anything in the musicbox library. Looking in the logfile, all my tracks are listed with an error of "resource not found", for example:

......
2015-02-11 22:30:01,222 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/03%20-%20Sigur%203%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,272 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/04%20-%20Sigur%204%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,314 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/05%20-%20Sigur%205%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,359 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/06%20-%20Sigur%206%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,410 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/07%20-%20Sigur%207%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,447 - WARNING Failed local:track:Sigur%20R%C3%B3s/%28%20%29/08%20-%20Sigur%208%20%28Untitled%29.mp3: Resource not found.
2015-02-11 22:30:01,522 - WARNING Failed local:track:Sigur%20R%C3%B3s/%C3%81g%C3%A6tis%20Byrjun/01%20Svefn-G-Englar%20%28Intro%29.mp3: Resource not found.
.......

Obviously the tracks themselves are being found otherwise the log would be empty... any ideas?

@adamcik
Copy link
Member

adamcik commented Mar 10, 2015

Probably a path encoding issue. Though local:track:Sigur Rós/( )/08 - Sigur 8 (Untitled).mp3 looks about right. @kingosticks do you remember what the magick encoding setting was for getting this type of thing right?

@kingosticks
Copy link
Member

Not sure to be honest, this one?
On 10 Mar 2015 21:27, "Thomas Adamcik" notifications@github.com wrote:

Probably a path encoding issue. Though local:track:Sigur Rós/( )/08 -
Sigur 8 (Untitled).mp3 looks about right. @kingosticks
https://github.com/kingosticks do you remember what the magick encoding
setting was for getting this type of thing right?


Reply to this email directly or view it on GitHub
https://github.com/mopidy/mopidy/issues/978#issuecomment-78152078.

@adamcik
Copy link
Member

adamcik commented Mar 11, 2015

Thought there was some discussion about this over on dicuss.mopidy.com about something like this. But might be mistaken.

@tkem
Copy link
Member

tkem commented Mar 11, 2015

There was some discussion concerning charsets and iocharset=utf8 here:
https://discuss.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/30

However, according to @jmbillings

all my tracks are listed with an error of "resource not found"

so my question is whether "all his files" contain non-ASCII characters, or this problem also occurs with pure-ASCII filenames?

@kingosticks
Copy link
Member

My reply would have made considerably more sense if I had actually pasted the link as I had intended. pimusicbox/pimusicbox#106 (comment)

@jmbillings
Copy link
Author

Sorry for the delay in replying, and thanks for the suggestions. I've made a little bit of progress...
Following the links, I installed UTF-8. This didn't achieve much on it's own, but some more hunting based on a new error I got suggested updating SQLite (https://discuss.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/35)
I did that, and I can now browse local files (artist/album etc are all empty, but "folders" works).

Unfortunately, playing still doesn't work. Extended characters are shown in the path as the little "diamond question mark", but even trying to play a normal file gives an error in the log:

`

  • WARNING Setting GStreamer state to GST_STATE_PLAYING failed
    2015-03-15 14:27:14,269 - WARNING Track is not playable: file:///mnt/routerusb/Ben%20Howard/I%20forget%20where%20we%20were/10%20-%20All%20Is%20Now%20Harmed.mp3
    2015-03-15 14:27:14,312 - ERROR Resource not found. Debug message: gstfilesrc.c(1042): gst_file_src_start (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin47/GstFileSrc:source:
    No such file "/mnt/routerusb/Ben Howard/I forget where we were/10 - All Is Now Harmed.mp3"
    `

I shall keep googling and fiddling 😄

@Domen988
Copy link

Domen988 commented May 23, 2015

Hi,

getting a very similar problem with playing local files myself. This is the error in the log:

ERROR    Resource not found.
WARNING  Setting GStreamer state to GST_STATE_PLAYING failed
WARNING  Track is not playable: local:track:asdf.mp3

I can see the metadata in the more verbose versions of the output, so something gets read.
If I use 'mopidy -vvv' the next error appears:

ERROR    2015-05-24 01:33:14,116 [82671:MainThread] mopidy.audio.gst
  Resource not found.

I'm playing around with locale settings, but that is getting me nowhere.. There is no non-ASCII characters in the tracks metadata.

Anybody has any ideas?
I'm totally new to mopidy, thanks for understanding.

@adamcik adamcik transferred this issue from mopidy/mopidy Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants