Kodi Community Forum

Full Version: Complex system with file sharing - questions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm just starting out with XBMC 13.2 (unfortunately, Kodi 14 is not yet in the repos for me), and so far I'm really impressed. I was able to get things going very quickly - just a couple of hours!! - with file sharing on multiple machines. Great stuff!

I have a fairly complex target that I'm shooting for. I'm building a house and I have it pre-wired with network and audio cables throughout. What I have is two rooms wired for audio in the ceilings, and cat5e to numerous other rooms, The short version is that I want the following system:

One server system housing all the media files and likely acting as an audio output for one room. I'll then have 3 individual systems acting as a second audio output for the second room, and at least 2 media centers stationed at 2 TVs (one in a living room and one in a workout room). XBMC remote installed on my Android phone to act as a remote control for differnet rooms. I may try to get some other niceties in the future, but for now this seems like a good enough project.

I currently have some test systems set up (specs described below). Both systems have Fedora 21 installed (3.17.17-300.fc21) and have XBMC installed. I also have them connected through my router on the same network.

The server works great and took only about 2 hours to go from a blank machine to a fully functional media system. I have included on it a few video files (one ripped DVD on OGV format, and a bunch of .iso files) and about 14 GB of audio files (all .MP3 for now, probalby will get re-ripped as OGG later). I've scanned the audio/video into libraries, have the scrapers working to get all the art, and can control it easily through the XBMC Android remote. Awesome stuff!

The problem comes in when I start file sharing. I've gone through the very easy steps to set up UPnP on the second system, and I can definitely see the files of the first system. When I add the audio as a UPnP device, I get lots of issues:

First, while the track are all listed along with the album art, there are 2 to 3 duplicates of each track everywhere.
If I try to play any one track, I get an error saying Playback failed and to check the log, which gives this:
01:58:53 T:139784776763776   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://artists/52/53/422?albumartistsonly=false&albumid=53&artistid=52
01:58:53 T:139784776763776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
01:58:53 T:139784776763776   ERROR: Playlist Player: skipping unplayable item: 8, path [musicdb://artists/52/53/422?albumartistsonly=false&albumid=53&artistid=52]

For videos, I do not get the library as I see it on my server machine. Rather, I have to navigate to the specific file and select it to play. This works fine for the videos that are ripped, but I also have some .iso files. These .iso files play fine on the server, but when I try to play them on the secondary, nothing happens and I see this in the log file:

02:02:27 T:139784776763776  NOTICE: DVDPlayer: Opening:
02:02:27 T:139784776763776 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
02:02:27 T:139783217059584  NOTICE: Thread DVDPlayer start, auto delete: false
02:02:27 T:139783217059584  NOTICE: Creating InputStream
02:02:27 T:139783846217472  NOTICE: Thread FileCache start, auto delete: false
02:02:27 T:139783217059584   ERROR: Error on dvdnav_open
02:02:27 T:139783217059584   ERROR: CDVDPlayer::OpenInputStream - error opening []
02:02:27 T:139783217059584  NOTICE: CDVDPlayer::OnExit()
02:02:27 T:139783217059584  NOTICE: CDVDPlayer::OnExit() deleting input stream
02:02:27 T:139784776763776   ERROR: Playlist Player: skipping unplayable item: 0, path [upnp://1826df5e-3560-7d1a-ac79-ae2e36918b19/%2fhome%2fXBMC%2fVideo%2fWorkout%2fIronman%2fIM_03_04.iso/]
02:02:27 T:139783217059584  NOTICE: Thread BackgroundLoader start, auto delete: false
02:02:27 T:139784776763776  NOTICE: CDVDPlayer::CloseFile()
02:02:27 T:139784776763776  NOTICE: DVDPlayer: waiting for threads to exit
02:02:27 T:139784776763776  NOTICE: DVDPlayer: finished waiting
02:02:27 T:139784776763776  NOTICE: CDVDPlayer::CloseFile()
02:02:27 T:139784776763776  NOTICE: DVDPlayer: waiting for threads to exit
02:02:27 T:139784776763776  NOTICE: DVDPlayer: finished waiting

Obviously, the Android remote also does not work for the secondary machine. It connects, and all looks well, but I have to navigate through file systems rather than seeing items listed in libraries.

Whew! Thanks for staying with me through all of that. At this point I'm considering abandoning the UPnP and maybe venturing into the MySQL option, but I wanted to check in here first to make sure I'm not missing something obvious.

Any tips are greatly appreciated!!


Machine specs

The machine that will be the central server housing all the media files:
Zareason Breeze Server 5880s
GigaByte mother board, model #H97N-WIFI
8x i7-4790 3.6-4GHz
16GB DDR3-1600
2x2TB 7200 rpm drives currently configured as software RAID
2xGigabit Ethernet
Integrated Intel HD audio with jacked outputs as well as digital spdif output
Integrated Intel HD video with DVI and HDMI output

One test secondary system that will serve as a media server (video or audio):
ThinkPenguin PocketWee (https://www.thinkpenguin.com/gnu-linux/p...ux-desktop)
4x i3-4010U 1.7 GHz processor
8GB memory
120 GB SS SATA drive
HDMI output
Intel 4400 graphics integrated
Intel HD audio 8 channel sound through HDMI