Problem with getMusicDirectory.view and getIndexes.view
I'm having the exact same problem as listed here
http://forum.subsonic.org/forum/viewtopic.php?t=5387
but I think I have a much better idea as to why.
The root of the issue is that on the Android app, any media files in the root of the media folder don't show up. Only child folders show. This is also not specific to Videos, but also happens with music files.
eg.
In the "Music Folders" Setting, I have the following
Music - /home/htpc/media/audio/Music
Movies - /home/htpc/media/video/Movies
My Music files are all in <artist>/<album> folders.
But, my Movies are mostly in the root folder, with a few child folders.
Browsing my media with the web interface on my PC shows everything just fine. All my music and all my videos. Mind you, it's a bit odd, because when I select my "Movies" folder, all of the videos in the root of that folder show in the left frame, with no way to list them in the center frame.
But, the Android app will not show any music or video files in the root folder.
I think however, it's not an issue with the android app, but instead an issue with the output from the REST call in combination with the Android app. I'm assuming the Android App makes use of the /rest/ api.
Using my web-browser, using the "getIndexes.view" rest call on my "Movies" folder, it shows only the child directories, and none of the root videos. Same thing happens in my music folder if I put a m4a at it's root.
As a result, there does not appear to be any way to call
/rest/getMusicDirectory.view
to list the contents of root Movies folder.
In short, the only way to play/view media files on the Android App is if they are at least 1 directory level down from the listed media root folder.
My Setup:
Subsonic Server: 4.4 (build 2169) – February 6, 2011
Gentoo Linux 2.6.36 (32bit)
java 1.6.0_23
Android:
HTC Aria (CyanogenMod7 Nightly Build 21)
Subsonic App: v2.6
Cheers
Shane
http://forum.subsonic.org/forum/viewtopic.php?t=5387
but I think I have a much better idea as to why.
The root of the issue is that on the Android app, any media files in the root of the media folder don't show up. Only child folders show. This is also not specific to Videos, but also happens with music files.
eg.
In the "Music Folders" Setting, I have the following
Music - /home/htpc/media/audio/Music
Movies - /home/htpc/media/video/Movies
My Music files are all in <artist>/<album> folders.
But, my Movies are mostly in the root folder, with a few child folders.
Browsing my media with the web interface on my PC shows everything just fine. All my music and all my videos. Mind you, it's a bit odd, because when I select my "Movies" folder, all of the videos in the root of that folder show in the left frame, with no way to list them in the center frame.
But, the Android app will not show any music or video files in the root folder.
I think however, it's not an issue with the android app, but instead an issue with the output from the REST call in combination with the Android app. I'm assuming the Android App makes use of the /rest/ api.
Using my web-browser, using the "getIndexes.view" rest call on my "Movies" folder, it shows only the child directories, and none of the root videos. Same thing happens in my music folder if I put a m4a at it's root.
As a result, there does not appear to be any way to call
/rest/getMusicDirectory.view
to list the contents of root Movies folder.
In short, the only way to play/view media files on the Android App is if they are at least 1 directory level down from the listed media root folder.
My Setup:
Subsonic Server: 4.4 (build 2169) – February 6, 2011
Gentoo Linux 2.6.36 (32bit)
java 1.6.0_23
Android:
HTC Aria (CyanogenMod7 Nightly Build 21)
Subsonic App: v2.6
Cheers
Shane