February 22, 201016 yr Just had a question. I did not see a v.4.5.1 subforum, so please forgive me if I am in the wrong spot. I am using v.4.5.1Plus I use <meta>/browser for my metadata creation for MediaBrowser/MediaCenter. This program has a feature to rename files/folders. I was curious to see how this is handled when using the Cache disk on unRAID. Currently in <meta>/browser the order of operations are: 1. Look in Dropbox (a predetermined, watched folder) for media file with specific naming. For this example we'll say that the dropbox is "C:\TempTV\" and the naming is "<show name> - <season #>x<episode #>.<extension>" 2. Copy file from dropbox to permanent home based on file name. In this case, the permanent home would be the User Share "\\Tower\TV\<show name>\Season <season #>\" (which may in the future be spanned across multiple disks, but in the current it is not) 3. Fetch Metadata. 4. Save metadata XML file and thumbnail, and save both to "\\Tower\TV\<show name>\Season <season #>\metadata\" 5. Rename metadata XML file and media file (from step 1 above) to "<show name> - <episode name> - S<season #>E<episode #>.extension" Can anyone help me understand how is step 5 handled with the cache disk enabled for this share? Also if there is an "unRAID & <meta>/browser" help forum/guide/faq let me know. Thanks again! ~B
February 22, 201016 yr It should work just fine. While the file may be temporarily stored on the cache drive, it will still be included in the user share 'TV' as if it were in its permanent location inside the protected array. You can rename files on the cache drive just like you can rename files inside the array, and they will still be moved into their proper place when the mover script runs. The cache drive is essentially transparent to any computer outside of the unRAID server.
February 22, 201016 yr Author It should work just fine. While the file may be temporarily stored on the cache drive, it will still be included in the user share 'TV' as if it were in its permanent location inside the protected array. You can rename files on the cache drive just like you can rename files inside the array, and they will still be moved into their proper place when the mover script runs. The cache drive is essentially transparent to any computer outside of the unRAID server. Ok....so to expand the situation. How about files that are already on the User Share. How are those renamed? Does it... A. ...rename the file on the share? B. ...copy the file from the share to the cache and then rename?
February 23, 201016 yr A. Once the file is on a protected disk, it doesn't go back to the cache for any reason (doing so would create the potential for data loss). If you take a 1mb file, put it on the cache drive, mover script moves it to a protected disk, then you append 20gb to that 1mb file - everything is done on the protected disk and the cache drive isn't touched.
February 23, 201016 yr Author A. Once the file is on a protected disk, it doesn't go back to the cache for any reason (doing so would create the potential for data loss). If you take a 1mb file, put it on the cache drive, mover script moves it to a protected disk, then you append 20gb to that 1mb file - everything is done on the protected disk and the cache drive isn't touched. That's what I thought, but I figured I would ask before I dig myself into a hole. But if you do not mind, can I ask another.... If you use UserShares, you can elect to use the Cache disk. But if I point <meta>/browser to the DiskShare (i.e. "\\Tower\disk1"), it would not invoke the Cache disk, right?
February 23, 201016 yr That's what I thought, but I figured I would ask before I dig myself into a hole. But if you do not mind, can I ask another.... If you use UserShares, you can elect to use the Cache disk. But if I point <meta>/browser to the DiskShare (i.e. "\\Tower\disk1"), it would not invoke the Cache disk, right? Yes, you can elect to use the cache drive or not use the cache drive for a UserShare. Also, if you right to a DiskShare (disk1-diskx) then the cache drive is never touched. The cache drive is ONLY used when using it in conjunction with UserShares.
Archived
This topic is now archived and is closed to further replies.