2013-06-26, 13:54
(2013-06-26, 12:41)blazin912 Wrote:(2013-06-26, 04:34)mwkurt Wrote:(2013-06-26, 02:09)blazin912 Wrote: Well, some how the latest stable-pre works. Confirmed tonight. On to the next issue -- wonderful.
Pull up the EPG on my 2nd instance (pulling the channels from the shared location), and it locks up. I've got the web server enabled. Any ideas what else could be causing the lockup?
Lockup was apparently due to not first running a channel rebuild of the media scraped on the slave. Ie with channel sharing on it disabled. Does this mean a rebuild later on, on the master will cause this to lockup on the slave again? Probably. Meta data is apparently not passing well between the instances or something.
Oh well, cross that bridge when i come to it.
So channel sharing is now working again like it used to? Except for your freezing issue? If so, that is great!
Mark
Don't know how it used to work.. but I've got it working.
My 2 XBMC instances use IP addresses + share names to access media. THIS is key. Lunatixz threw me that hint.
When your PTV builds a playlist file for itself, it uses the location of the media from the database, if you have D:\Movies as your movie dir, then your second instance of XBMC will try to use those playlists and go crazy because D:\Movies\whatever file name will probably not exist.
My server has a static IP so I know my media will always be at a particular IP; however, I don't see why this wouldn't work with host names, as Lunatixz said, but not sure the resolver is 100% as he alluded to.
So take away for channel sharing:
IF YOU HAVE ALREADY CONFIGURED CHANNEL SHARING:
Delete your shared channel directory cache *.m3u (if they exist)
Instance 1:
Static IP
Media should be added by: Static IP\Shared Directory Name\
Enable Shared Channels
Point Shared Channel directory to again a Static IP\Shared directory name\ (don't know if this matters, but once you're using one convention, might as well be consistent)
Delete all of Instance 1's *.m3u files from the userdata\addon_data\ script.pseudotv\cache directory
Launch PTV
Exit PTV
You are now ready for Instance 2:
Dynamic IP is ok here -- good for everything other than the main media server
Follow all media adding/directory naming conventions found in Instance 1 *** More on this
Enable Shared Channels
Delete all instance 2's *.m3us
Launch PTV
Channel Sharing should now be working!
*** I'm not 100% positive, but if you plan to use your 2nd instance ONLY for PTV.. you probably don't need to add/scrape the media at all. This is assuming the metadata is also passed appropriately via channel sharing (which did not seem to be the case in my test last evening).
The playlist files contain both the pointer to the data and metadata for it, so if all you're using is a small set top box PTV player, Title, Description, and Season / Episode data may be enough.
If you're runnning a customized skin and want artwork and banners and yada yada? You may need to scrape local -- I'm new to XBMC not sure if you can point it to a server repository for all that extra stuff.
anyway, if anyone has questions about channel sharing let me know. I've figure it out after serveral hours of messing around and searching the forums with little findings. Would've been nice to stumble upon a post like this and just get it working in 25 mins vs 12 hours.
Thanks for the reply...A couple of questions though, not sure I understand what you mean by this: "Media should be added by: Static IP\Shared Directory Name\"
Currently, all of my machines have static IP addresses. I am using Windows and have my media add using smb. i.e. SERVER\TV Shows
The SERVER being where all of my media is located and sharing to the other 4 pc's located throughout my house.
Are you saying I should make local links on the #1 machine to use? I am a bit cloudy about what I need to do here in terms of my media sharing.
Also, are you by any chance using anything like Dropbox to facilitate the channel sharing?
Thanks,
Mark