# Network folders are showing up empty in MusicBox 0.5.1rc

**URL:** https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315
**Category:** Pi MusicBox (archive)
**Created:** [November 13, 2014, 9:04pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315 "2014-11-13T21:04:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [November 13, 2014, 9:04pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/1 "2014-11-13T21:04:08Z")

</div>

Hi,

I’m trying out MusicBox 0.5.1rc because it’s support for Raspberry B+ with HiFiBerry.

I noticed that when browsing networkfolders there are no tracks found.  
When browsing the network using the console I see the music files.

Also when browsing Artists I don’t see all the tracks. In other upnp browsers the content does show.

Another thing I noticed with 0.5.1.rc is that under airplay on my iPhone I see MusicBox (MusicBox) and shairport-sync (MusicBox).  
Is it supposed to show up twice?

Kind regards,  
Jacco

---

<div class="post-metadata">

### Author: ![woutervanwijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/woutervanwijk/32/15_2.png) [@woutervanwijk](https://discourse.mopidy.com/u/woutervanwijk)
#### Post date: [November 20, 2014, 7:15pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/2 "2014-11-20T19:15:13Z")

</div>

did you set it to index the files on startup?

2: that’s a bug indeed, the two airplay devices

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [November 20, 2014, 9:51pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/3 "2014-11-20T21:51:12Z")

</div>

Yes, i did set it to index at startup.

But the fact that network folders are empty has nothing to do with indexing…or does it?

Maybe same problem as Paul\_Winstanley?

---

<div class="post-metadata">

### Author: ![markus\_gregory](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@markus\_gregory](https://discourse.mopidy.com/u/markus_gregory)
#### Post date: [December 6, 2014, 4:30pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/5 "2014-12-06T16:30:57Z")

</div>

I have a similar problem since v0.5.1. If a subfolder or file in a structure includes signes like ä,ü,ß… the whole folder is empty.

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 8, 2014, 9:34pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/6 "2014-12-08T21:34:38Z")

</div>

Same problem with RC2.  
I have no special characters like é in the file and folder names.  
And still Browse Network: No tracks found…

---

<div class="post-metadata">

### Author: ![markus\_gregory](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@markus\_gregory](https://discourse.mopidy.com/u/markus_gregory)
#### Post date: [December 9, 2014, 9:31am UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/7 "2014-12-09T09:31:40Z")

</div>

In a testfolder, I also had to remove signs like ´ " and so on  
If I only use latin letters from a to z, the content of the folder get visable, without any rescan.

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [December 9, 2014, 9:48am UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/8 "2014-12-09T09:48:53Z")

</div>

Are you guys setting a suitable encoding in the mount command options field? I vaguely remember something similar being an issue previously.

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [December 9, 2014, 10:30am UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/9 "2014-12-09T10:30:25Z")

</div>

To follow up, [https://github.com/woutervanwijk/Pi-MusicBox/pull/128](https://github.com/woutervanwijk/Pi-MusicBox/pull/128) is the issue I was referring to and you can see the `iocharset=utf8` option that was added there. Strangely that option (along with others) was removed in 0.5.1alpha. @woutervanwijk, was this intentional? Does it break something?

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 10, 2014, 2:52pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/10 "2014-12-10T14:52:57Z")

</div>

I see no iocharset=utf8 with the mount command.  
In what file is the automount command for the network share?  
But this is still a strange problem. I can’t figure out why some albums show up empty and others are not.  
For instance, a song that don’t see in the webinterface is Dreadlock Holiday.mp3  
It’s in the folder: \nas\music\10CC\Dreadlock Holiday. So i see the album but not the song.  
The space is not the problem since I have more songs and folders that has a space and they do show up in the webclient.

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [December 10, 2014, 5:37pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/11 "2014-12-10T17:37:00Z")

</div>

As I said, the `iocharset` option was recently removed, so not, you don’t see it. If you look in the link I posted you can see the file that controls the mounting is `/opt/musicbox/startup.sh`.

Correct, the space is not an issue. Can you verify the permissions are all OK?

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 10, 2014, 7:42pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/12 "2014-12-10T19:42:07Z")

</div>

I put iocharset=utf8 in the shartup script. It now looks like this:  
mount -t cifs -o sec=ntlm,ro,iocharset=utf8,user=$INI\_\_network\_\_mount\_user,password=$INI\_\_network\_\_mount\_password $INI\_\_network\_\_mount\_address /music/Network/

But when I check with mount it shows:  
//nas/music on /music/Network type cifs (ro,relatime,vers=1.0,sec=ntlm,cache=strict,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.100,unix,posixpaths,serverino,acl,rsize=1048576,wsize=1048576,actimeo=1)

No iocharset=utf8

I checked permissions and they look ok.  
Also when I browse from the console I can see all songs. Including the ones I don’t see in the webclient.

---

<div class="post-metadata">

### Author: ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)
#### Post date: [December 10, 2014, 8:19pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/13 "2014-12-10T20:19:13Z")

</div>

OK, well unicode shares are not supported by some servers but that’s probably pretty unlikely for a modern NAS.

Can you check the file’s id2/3 tags are correct, or at least comparable to a file that does appear in the webclient?

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 10, 2014, 9:04pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/14 "2014-12-10T21:04:24Z")

</div>

I have a Synology DS211 with the latest software (5.1-5004 Update 2).

id2/3 tags look correct and the same as files that show in the webclient.

Isn’t it also strange that when I browse folders\Network that the Webclient doesn;t show any files?

---

<div class="post-metadata">

### Author: ![markus\_gregory](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@markus\_gregory](https://discourse.mopidy.com/u/markus_gregory)
#### Post date: [December 10, 2014, 11:26pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/15 "2014-12-10T23:26:34Z")

</div>

I think the the mount options and NAS are not the problem. I am using solaris with a ZFS-CIFS share and at the terminal the mounted folders are presented correct.  
If I create the folder /music/MusicBox/test/aaa on the sd-card, the folder aaa is visuable in the browser-view. If I add /music/MusicBox/test/ööö, the folder test is empy in the browser, if I delete ööö under /music/MusicBox/test, the folder aaa is presented again. I also have this problem just in the Browse-Folder-View, in Browse-Album-View special signs are no problem. I am only able to produce this problems with special signs.  
@Jacco: if you are starting a manual scan with root@MusicBox:~# mopidy local scan, is it reporting any errors for Dreadlock Holiday.mp3?

---

<div class="post-metadata">

### Author: ![jochen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jochen/32/473_2.png) [@jochen](https://discourse.mopidy.com/u/jochen)
#### Post date: [December 11, 2014, 6:55pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/16 "2014-12-11T18:55:04Z")

</div>

Hi,

in case you did not try it yet, the bug regarding the two airplay devices has been fixed in 0.51.

Jochen

---

<div class="post-metadata">

### Author: ![tkem](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/tkem/32/22_2.png) [@tkem](https://discourse.mopidy.com/u/tkem)
#### Post date: [December 12, 2014, 7:29am UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/17 "2014-12-12T07:29:15Z")

</div>

The problem with Unicode characters is probably due to MusicBox’s broken (IMHO) locale support.  
Log into MusixBox and run `locale`; you might see that MusicBox per default uses the `POSIX` locale, which cannot handle non-ASCII characters in path names properly.

Try running

```
apt-get install locales

```

and then from

```
raspi-config

```

select `en_US.UTF-8` as the system locale. Reboot and check if that fixes the problem.

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 12, 2014, 6:48pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/18 "2014-12-12T18:48:10Z")

</div>

Hi tkem,

Thanks for your response.  
en\_US.UTF-8 was already configured but I tried your fix anyway.  
Unfortunately it wasn’t the solution.  
It still don’t see all my songs.

---

<div class="post-metadata">

### Author: ![jaccobezemer](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jaccobezemer](https://discourse.mopidy.com/u/jaccobezemer)
#### Post date: [December 12, 2014, 6:54pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/19 "2014-12-12T18:54:50Z")

</div>

@markus_gregory: I did a local scan and didn’t get any errors on the songs I don’t see.

---

<div class="post-metadata">

### Author: ![surfacescan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/surfacescan/32/62_2.png) [@surfacescan](https://discourse.mopidy.com/u/surfacescan)
#### Post date: [December 12, 2014, 7:05pm UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/20 "2014-12-12T19:05:49Z")

</div>

Have also been having this issue, I thought maybe it was related to permissions. But apparently not. I have one folder appearing correctly, but a heated folder with about 20gigs of mp3s next to it, not appearing in network browse.

---

<div class="post-metadata">

### Author: ![tkem](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/tkem/32/22_2.png) [@tkem](https://discourse.mopidy.com/u/tkem)
#### Post date: [December 13, 2014, 7:51am UTC](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315/21 "2014-12-13T07:51:32Z")

</div>

Strange. Yesterday, I downloaded MusicBox RC, wrote the image to a new SD card, logged in as `root` via SSH, and the locale was set to POSIX. Also, I couldn’t use `raspi-config` to change the default locale out of the box, due to missing `locales` package. `locales -a` showed only C and POSIX locales available, if I remember correctly…  
Did you do a fresh install, or did you upgrade MusicBox from a previous version?

[Next page](https://discourse.mopidy.com/t/network-folders-are-showing-up-empty-in-musicbox-0-5-1rc/315.md?page=2)
