Revision history for phases


Revision [826]

Last edited on 2015-05-04 20:34:41 by AdminUser
Additions:
If instructed by command line, the Medialibrary is filtered for the selected audio files. Each matching item is matched against the defined rule-sets (loaded in step 2) to calculate the destination file-path, format and estimated size on the target.
At this phase the new playlist-files (m3u) are created too (because we know, where the playlist items will be saeved after sync). In a future version I will implement a cross-check against the files from step 4 to save some extra space on target: If a playlist item is also part of step 4, M3U-index will then simply point to it.
The script will pause. You can use the analysis console to get details about the results and you may want to have a look at the file-/folder-structure on target.
Deletions:
If instructed by command line, the Medialibrary is filtered for the selected audio files. Each matchint item is matched against the defined rule-sets (loaded in step 2) to calculate the destination file-path, format and estimated size on the target.
At this phase the new m3u-files are created too (because we know, where the playlist items will be saeved after sync). In a future version I will implement a cross-check against the files from step 4 to save some extra space on target: If a playlist item is also part of step 4, M3U-index will then simply point to it.
The script will pause, so you can have a look at the files/folders and tweak modifications in your configuration and restart.


Revision [767]

Edited on 2015-04-19 08:47:55 by AdminUser [Version 0.9.8]
Additions:
If you did use option 't' in parameter tasks, the script will remove flag-files __and end then__ (because it was a test).
Deletions:
If you did use option 't' in parameter tasks, the script will remove the flag-files and all empty folders in the destination folders __and will end then__ (because it was a test).


Revision [691]

Edited on 2015-04-13 21:49:03 by AdminUser [Version 0.9.5]
Additions:
**Phase 1: Read command line **
**Phase 2: Read configuration file**
**Phase 3: Prepare media for analysis**
Script will make use or file attibute A (**A**rchive) to flag existing files on the target as 'good' in step 5. Therefore file attributes in all corresponding folders on the target need to be uniform.
**Phase 4: Analyse Medialibrary**
If instructed by command line, the Medialibrary is filtered for the selected audio files. Each matchint item is matched against the defined rule-sets (loaded in step 2) to calculate the destination file-path, format and estimated size on the target.
If the resulting file is NOT found on the target a 'flag-file' is created (see below). If the file found, the format and/or size is validated as defined by ConvertFormats (and flagged as 'good' if it's ok).
As a result of phase 4, the script will have marked all 'good' Medialibrary files on the target and will have lists of the items that need to get copied / converted.
**Phase 5: Analyse Playlists**
Same as last phase, but now for your playlists. Which playlists to exclude/include are known from step 2. All corresponding playlists are processed and their items are checked against the rules.
At this phase the new m3u-files are created too (because we know, where the playlist items will be saeved after sync). In a future version I will implement a cross-check against the files from step 4 to save some extra space on target: If a playlist item is also part of step 4, M3U-index will then simply point to it.
**Phase 5: Show statistics**
After the analysis has finished, the amount of items to copy and/or convert is known. Also we know about the needed space on target and ophaned stuff.
The folder structure and the files on the target will match the final result, except ophaned files and folders are still left.
The script will pause, so you can have a look at the files/folders and tweak modifications in your configuration and restart.
**Phase 6: Erase orphant stuff**
If you did use option 't' in parameter tasks, the script will remove the flag-files and all empty folders in the destination folders __and will end then__ (because it was a test).
If you did NOT use option 'T' in tasks, all files that do not belong to your sync and/or are outdated (wrong bitrate/codec) are deleted.
**Phase 7: Copy files**
Now all missing files where NO convertion is needed are copied to their calculated destination paths.
**Phase 8: Convert files**
Files that are missing and need convertion are now converted.
Deletions:
Phase 1: Read command line
Phase 2: Read configuration file
Phase 3: Prepare media for analysis
Script will make use or file attibute A to mark existing files on the target as 'good' . Therefore file attributes in all corresponding folders of the target will be set to a uniform mask.
Phase 4: Analyse Medialibrary
If instructed by command line the Medialibrary is filtered for the selected audio files. Each file is matched against the defined rule-sets (loaded in step 2) to get the destination file-path, format and size on the target.
If this file is missing on the target a 'flag-file' is created (see below). If it is there, the format and/or size is checked. If the existing file is fine, it will be marked as 'good'.
As a result the script will have marked all 'good' Medialibrary files on the target and will have lists of files that will be copied / converted.
Phase 5: Analyse Playlists
Same as last phase, but for your playlists. Which playlists to analyse/sync are known from step 2. All playlists are processed and their items are checked against the rules.
At this phase the new m3u-files are created too (because we know, where the playlist items will be saeved after sync). There will be a check against the files from step 4 in near future. This will save extra space on target and save time by pointing to those files from step 4 if the audio source file is identical.
Phase 5: Show statistics
After the analysis the amount of files to copy and/or convert is known. Also we know about the needed space on target. And finally there are 'flag-files' in the folder/file-structure. Therefore the script will pause to give you a chance to check. Very useful if you made changes [[IDfile|configuration file]] of the target.
Phase 6: Erase orphant stuff
If you did use option 't' in parameter tasks, the script will remove all flag-files and all empty folders in the destination folders and then end (because it was a test). If it wasn't a test, all files that do not belong to your sync and/or are outdated (wrong bitrate/codec) are deleted.
Phase 7: Copy files
Now all files where NO convertion is needed are copied to their destination paths.
Phase 8: Convert files
Files that need convertion are converted.


Revision [643]

The oldest known version of this page was created on 2015-04-11 13:23:30 by AdminUser [Version 0.9.5]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki