home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
How to prevent removal of "deleted" files from the DB?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Scythe42" data-source="post: 811178" data-attributes="member: 95833"><p>Poor man's distributed file system <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> I'm not holding on to them, I upgraded to them!</p><p></p><p>In fact the problem will arise with any distributed file system implementation where the import path is online but directories or files in it might not. Try it out with AD's DFS. It will have the exactly same issue.</p><p></p><p>Here is the long story:</p><p></p><p>The symlinks allow me to have one single import path and move resources around the network or harddrives as I please with no impact on TVSeries. This is user friendly (my GF would kill me if she had to constantly play with the Config Tool.) With Fuse I even can do more great stuff.</p><p></p><p>Some ressources are also located in the cloud or archived and cannot be imported or accessed by TVSeries itself. They will be made online once a file in the directory is accessed. From an application level it looks like one local filesystem or one remote share, even though it isn't. Resources inside it can go on- and offline by accident or on purpose. Any kind of automatic deletion screws things up very bad in such an advanced setup.</p><p></p><p>I also insert new episodes directly into the database as part of the post processing from sickbeard to make them available at once without any user interaction or delay. The local scan just updates the artwork later. In fact I will try to "virtualize" the DB in the future. Still need to investigate what the best approach is and if it is even possible.</p><p></p><p>Also some ressources are encrypted with TrueCrypt and require an USB Token to be inserted in the HTPC to decrypt then. Think very advanced and actually working parental controls here. No one can access such files without a token.</p><p></p><p>I even have replication over VPNs setup to supply some of my closest friends with a "subscription service" to the TV shows of their choice. In addition some shows are held locally and older ones (depending on disk-space) are automatically exchanged to links to my archive drives or cloud ressources.</p><p></p><p>I go even further in my setup. I "virtualized" my MP install with symlinks. I can switch between a production, test, development and SVN environment with a single mouse click. Also the DBs and Config Files are symlinks as well depending on who is the user for MP. The setup is standard and the paths are always configured the same for every environment and every user. Think support here. All by just keeping the content inside the poor man's distributed file system flexible and have "trigger actions" setup when specifics folder on my network are accessed or updated.</p><p></p><p>I can simply switch out anything real easy without MP or the plugins even noticing while keeping a standard setup and no one needs to change the configuration when something on the network changes. I can work on the network, move resources, replicate them and my GF or some friends at a different location don't have to adjust their configuration when I completed some work. Also different people have different shows in different languages listed in TVSeries depending on their preferences. Still working on a "on-the-fly config reload" while MP is running...</p><p></p><p>As you ca see I have perfectly valid reasons to use a DFS based on symlinks and Fuse in my setup.</p><p></p><p>To sum it up once again:</p><p></p><p>Ressources inside an import path that itself is considered online by TVSeries might not be available for "external" reasons when you use a distributed file system. Therefore I want to turn the deletion behavior off. Can this be done with some of the settings in the DB on the import path? Or do I have to comment out the deletion in the source and recompile it just to turn this behavior off?</p><p></p><p><strong>Edit:</strong></p><p>Also a simple mountvol (same a mount under Unix) will have the same problem with mounted Shares to a directory inside an import path. Mountvol exists since Windows XP...</p></blockquote><p></p>
[QUOTE="Scythe42, post: 811178, member: 95833"] Poor man's distributed file system :-) I'm not holding on to them, I upgraded to them! In fact the problem will arise with any distributed file system implementation where the import path is online but directories or files in it might not. Try it out with AD's DFS. It will have the exactly same issue. Here is the long story: The symlinks allow me to have one single import path and move resources around the network or harddrives as I please with no impact on TVSeries. This is user friendly (my GF would kill me if she had to constantly play with the Config Tool.) With Fuse I even can do more great stuff. Some ressources are also located in the cloud or archived and cannot be imported or accessed by TVSeries itself. They will be made online once a file in the directory is accessed. From an application level it looks like one local filesystem or one remote share, even though it isn't. Resources inside it can go on- and offline by accident or on purpose. Any kind of automatic deletion screws things up very bad in such an advanced setup. I also insert new episodes directly into the database as part of the post processing from sickbeard to make them available at once without any user interaction or delay. The local scan just updates the artwork later. In fact I will try to "virtualize" the DB in the future. Still need to investigate what the best approach is and if it is even possible. Also some ressources are encrypted with TrueCrypt and require an USB Token to be inserted in the HTPC to decrypt then. Think very advanced and actually working parental controls here. No one can access such files without a token. I even have replication over VPNs setup to supply some of my closest friends with a "subscription service" to the TV shows of their choice. In addition some shows are held locally and older ones (depending on disk-space) are automatically exchanged to links to my archive drives or cloud ressources. I go even further in my setup. I "virtualized" my MP install with symlinks. I can switch between a production, test, development and SVN environment with a single mouse click. Also the DBs and Config Files are symlinks as well depending on who is the user for MP. The setup is standard and the paths are always configured the same for every environment and every user. Think support here. All by just keeping the content inside the poor man's distributed file system flexible and have "trigger actions" setup when specifics folder on my network are accessed or updated. I can simply switch out anything real easy without MP or the plugins even noticing while keeping a standard setup and no one needs to change the configuration when something on the network changes. I can work on the network, move resources, replicate them and my GF or some friends at a different location don't have to adjust their configuration when I completed some work. Also different people have different shows in different languages listed in TVSeries depending on their preferences. Still working on a "on-the-fly config reload" while MP is running... As you ca see I have perfectly valid reasons to use a DFS based on symlinks and Fuse in my setup. To sum it up once again: Ressources inside an import path that itself is considered online by TVSeries might not be available for "external" reasons when you use a distributed file system. Therefore I want to turn the deletion behavior off. Can this be done with some of the settings in the DB on the import path? Or do I have to comment out the deletion in the source and recompile it just to turn this behavior off? [B]Edit:[/B] Also a simple mountvol (same a mount under Unix) will have the same problem with mounted Shares to a directory inside an import path. Mountvol exists since Windows XP... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
How to prevent removal of "deleted" files from the DB?
Contact us
RSS
Top
Bottom