2013-06-28, 00:48
(2013-06-27, 12:44)blazin912 Wrote:(2013-06-26, 20:43)mwkurt Wrote: I think I have it, I'll know more later, but please don't go away yet. One more question....
How and where do I enter this path using an IP address?
I am not in front of my pc's at the moment, so the "How to" escapes me at the moment.
Thanks,
Mark
Edit: So....I have mapped my Pseudo Share network drive to my local machines thusly: \\192.168.1.6\Pseudo Share
Having done the mapping this way, I can choose to make this my shared folder from within PTV. Is this what you were talking about?
Hey Blazin912, I have tried mapping my shared folder every way I could possibly do and still can't seem to get the sharing working
I have installed the latest development version today.
Tried creating the share the following way: Both "Map Network Drive", and "Add a Network Location", using both the IP of where the shared file is : \\192.168.1.6\PTV Share Folder, and the this way \\Server\PTV Share Folder. Folder has been shared with read/write privileges for everyone.
Deleted all *.m3u files in local PTV folder, Set shared folder to the Server share, started PTV and it started creating channels using the local folder.
Should PTV be putting information into the shared folder? Maybe I am not letting it run long enough? Is there any way you could tell me how to share the folder, maybe that I am not doing?
Edit 3: So now it looks like it is working, partially anyway. While the local PT folder has 23 generated *.m3u files, the settings2.xml, etc., the shared Server folder has but 4 generated *.m3u files and the settings2.xml file (Possibly did not run long enough?). I'll try again tomorrow to see if the total number of m3u files will actually include all of the channels.
Thanks,
Mark
(2013-06-27, 03:23)Jason102 Wrote: I did change how channel sharing works a bit, but ideally for the best. If it's not working...well...it's not really better. How it works:
The channel data is copied from the share location to the local channel location.
It is determined if it is the only session started that is sharing the channel data.
When exiting, it copies back the data only if it was the only session when starting.
mwkurt: please send me a debug log. I only need startup, wait a minute, shut down.
So, IIRC PTV master will create it's channels locally on start up of the first run. On exit, it will copies its channels to the share.
After that first run, it will check the share, pull that down and update itself, on exit, it will copy it back.
So, if you have something in the shared location, it will use that, if you don't it will create it's own (based on your rules) and then copy that config to the server when it's done.
This is why you'll need to wipe everything (all .m3us) in both locations, run your master or "rules" instance once, close it out, and then should be good to go.
If you have everything pointing to the same location, they should pull the same settings2.xml, pull the .m3us, etc etc and be good.
If it's not pulling the M3Us, but it is pullig the settings2.xml, I'd expect it to at least be able to build the channels from the same rules from your server media assuming you have it added to that instance of XBMC. I'm making a lot of assumptions here and would need to dig deeper into the order of operations to ensure what I'm saying is possible.
Performed a little test.
Deleted all m3u files, local and shared. Deleted the settings2.xml file to start fresh. Loaded channel settings and deleted all of the premade channels.
Created 3 channels, 1 Channel was for episodes that are less than 24 hours old, another channel was a "TV Show" Channel, the only rule was "to not show" the channel.
The 3rd channel was a "TV Show" Channel as well. This channel's only rule was to interleave the previous channel.
Started PTV, let it run until all 3 channels were created and the m3u files were in the local PTV directory.
Stopped PTV, checked the shared folder and the only file there was the settings2.xml file.
Now going by what you have said here, when stopping PTV, after the initial run, the m3u channels should be copied to the share, but they are not. This would mean that rather than using the shared folder on future runs, this machine "The Master", will only use local files.
I am going to perform more test because in previous runs of PTV, I had many channels copied but some were not. I am going to try and find out if there is something in common with the channels not being copied.
Edit 1: Added 2 more channels, a TV genre channel and a TV Network channel. Same result, nothing copied to the shared folder.
Edit 2: So I added at least 1 of every channel type, each time deleting all m3u files, and the resultant m3u files that were made in the local PTV directory were not copied to the shared folder. I give up, I can't figure out how sharing works if the m3u files created on the master PTV are not copied to the share for other installs to use, and since I am the only one that seems to have problems with this, I guess I am doing something wrong, although I had this working in the version of PTV that I was using with Dharma. It would be nice not to have to use gimmicks (dropbox, symbolic links, etc) to get this working the way it used to work. I am currently using eventghost and Allway sync between 2 computers for this purpose.
Jason, if you read this, could you please explain in steps, how this is supposed to work now? It would be very much appreciated and thanks again for your work in building this for us.
Mark
Mark