Announcement

Collapse
No announcement yet.

Filesystem Sync Plugin

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filesystem Sync Plugin

    Hello all,

    I have put up the graphical filesystem sync plugin on my server, available to use and test for anyone who is interested. This plugin will sync a remote windows share to a directory on your car pc, and graphically display status and progress, and also allows the user to stop Sync before it is complete... This is only done in English and Danish languages as of right now (anyone who can help with the other language translations please feel free ). Please note the following for usage:

    1) You must configure the Settings, go to Settings -> SyncFS
    2) "Remote Media Share' must be entered (ex. \\Server\Share)
    3) "Local Media Path" must be entered (ex. c:\media)
    4) "Character Patterns to Sync" must be entered (ex. mp3,mpg,mpeg,wav)

    >> Sorry, as of right now all of these settings must be typed in from the OSK, I will add directory browsing later in development.
    EDIT 6/1/2007 Directory Browsing and ListViews Added !!
    EDIT 6/23/07 ListView added for character pattern list

    5) A button must be set up for SyncFS. Go to Settings -> Button Layout and set the button for the SyncFS action.
    6) You should be able to go to the Sync screen and sync right away. Please note that I have not tested the "AutoConnect" feature yet, so if you're not currently connected to a network I can't guarantee what will happen...

    WORKLOG :

    EDIT: 7/10/2007
    Version 1.03, Compiled for CF 1.20 ...
    1) As requested by Flux Media, LLC., the "SyncFS" plugin has been renamed to "FileSync" plugin. After installing this zip, you can move your old plugins/SyncFS/config.xml file into the new plugins/FileSync directory to preserve your settings.

    EDIT: 6/23/2007
    Version 1.02, Compiled for CF 1.14+ ...
    1) Added listview selection mechanism for adding/removing "character patterns to sync" in setup screen.
    2) Added code to constantly check for network connection during sync.
    3) Removed "AutoDial" button from Settings.

    EDIT: 6/1/2007 (Setup screen improvements)
    Version 1.01, Compiled for CF 1.14 ...
    1) Removed Nexus skin..
    2) Added filesystem browser to select local paths in setup screen.
    3) Added listview selection mechanism for adding/removing remote shares in setup screen.
    4) Fixed issue with display name saving in setup screen (???).

    EDIT: 5/14/2007
    Version 1.0, Compiled for CF 1.12 ...
    1) Improved user logon function for connection to remote share.
    2) Added support for Nexus skin, simply using weather skin background.
    3) Fixed network share logout function
    4) Improved Progress Bar Incrementing algorithm.
    5) Fixed issue with incorrect username/domain combinations being used in logon actions.
    6) Fixed issue with corrupted config.xml file, CF not seeing SyncFS in Button Layout Settings.

    EDIT: 4/14/2007
    1) Added true character pattern searching for files to sync.
    2) Added new setting for ignored character patterns (for overriding the character pattern to sync, ex. I want jpg files but I don't want jpg files that start with "AlbumArt")
    3) User logon working
    4) Added removal of folders on local filesystem when the corresponding remote folder is no longer in existence.
    5) Added update support in code so that Settings do not get reset when updating to new version
    6) Added autocheck for removal of files based on new entries for the ignored character patterns
    7) Added option in Settings to not remove/delete anything from local filesystem, regardless if it was deleted of remote share.
    8) Added dynamic creation/updating of config.xml file so as future updates will not erase currently saved syncfs user settings.

    EDIT: 4/8/2007
    1) Onyx Day Skin
    2) File Removal on Sync
    3) Added Debug Logging
    4) Corrected text size problem

    EDIT: 4/6/2007
    1. Clears file list when successive syncs are performed
    2. plugin icons
    3. spinning sync wheel for use while sync in progress

    TODO LIST
    1. Add code to make sure media files being overwritten/deleted during sync are not currently in use.
    2. Nicer, professional looking progress bars.
    3. Graphical buttons to replace text buttons "Start", "Stop", and "Clear".
    4. New graphics for sync wheel animation.
    5. New icon (for displaying on CF button).

    -----------------------------------------------------------------------------------------
    DOWNLOAD LINK
    http://www.scottpm.com/cf/plugins/CF_FileSystemSync.zip
    -----------------------------------------------------------------------------------------
    NOTE FOR USERS WHO ALREADY HAVE SYNCFS INSTALLED TO THE CF PLUGINS DIRECTORY:
    You can extract this zip over the existing syncfs install, it will not erase your saved settings.
    -----------------------------------------------------------------------------------------

    Please let me know of any feedback, troubles, bugs, requests, etc... This plugin is almost complete... Enjoy

    - Scott

    http://www.fluxmedia.net/

  • #2
    IF FLuxmedia ever released a Photoshop template for their Onyx skin, then I am absolutely sure you would have people jumping to help you with a skin.

    Sadly, I have not yet seen a template for Flux, and I get no joy out of skinning Onyx without proper and exact templates.

    Great work on the plugin. I think Flux is working on something similar though, just a head's up!
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

    Comment


    • #3
      This looks great... I hope to add it to the website downloads once tested...

      I will look into creating a basic photoshop template with assets once I get 1.12 released...

      It would be included in the SDK...

      david
      __________________
      CENTRAFUSE http://www.centrafuse.com
      01 Jeep Cherokee Sport 4x4 Installed
      M10000/512Mb/20GB, Lilliput 7", Holux GM-210

      Comment


      • #4
        "In progress" screenshot from initial testing:

        http://www.fluxmedia.net/

        Comment


        • #5
          New Update Available

          http://www.scottpm.com/cf/plugins/CF_FileSystemSync.zip

          Finished in this update:

          1) Onyx Day Skin
          2) File Removal on Sync

          Remaining Items :

          1) Replace block progress bars with professional looking progress bar images
          2) Redo sync icons
          3) Test User Impersonation
          4) Translate to languages other than English
          5) Add option to sync from more than one remote folder (maybe)
          6) Replace OSK in settings on path options with Explorer style input (i.e. like setting paths for the Media Library)
          7) Code cleanup

          Known Bugs:

          1) Sync Icon on mainscreen Centrafuse button being resized/displaced in different Centrafuse resolutions.
          2) Progress Bars overlaying text in Sync screen in different Centrafuse resolutions, on some systems.
          http://www.fluxmedia.net/

          Comment


          • #6
            New Update Available

            http://www.scottpm.com/cf/plugins/CF_FileSystemSync.zip

            Finished in this update:

            1) Added true character pattern searching for files to sync.
            2) Added new setting for ignored character patterns (for overriding the character pattern to sync, ex. I want jpg files but I don't want jpg files that start with "AlbumArt")
            3) User logon working
            4) Added removal of folders on local filesystem when the corresponding remote folder is no longer in existence.
            5) Added update support in code so that Settings do not get reset when updating to new version
            6) Added autocheck for removal of files based on new entries for the ignored character patterns
            7) Added option in Settings to not remove/delete anything from local filesystem, regardless if it was deleted of remote share.

            Remaining Items :

            1) Redo syncfs graphics and icons
            2) Translate to languages other than English/Danish (Danish not completely updated as of now)
            3) Add option to sync from more than one remote folder (maybe)
            4) Replace OSK in settings on path options with Explorer style input (i.e. like setting paths for the Media Library)
            5) Code cleanup

            Known Bugs:

            1) Sync Icon on mainscreen Centrafuse button being resized/displaced in different Centrafuse resolutions.
            http://www.fluxmedia.net/

            Comment


            • #7
              I tried this version out, but after I hit START it just stays there and says 'computing tasks' with only about 2% on the progress bar.
              2002 Honda CR-V
              Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
              Spent so far: $1105.90


              Download the NEXUS Skin for Centrafuse
              ...or even Listen to my music

              Comment


              • #8
                Originally posted by justintime View Post
                I tried this version out, but after I hit START it just stays there and says 'computing tasks' with only about 2% on the progress bar.
                That's pretty good with the 2% guess, that's what it is
                Anyway, yeah, I am noticing some problems with the network logon, if you're using username and password to access the remote share. I put a new version up, try downloading that and try again. If problem persists, please let me know, it's a security problem with gaining access to the share...

                You can also try manually to see if you can get access to the share from the command line like below:

                Using username and password:
                # net use \\<machinename>\<sharename> /User:<username> <password>
                Without username and password:
                # net use \\<machinename>\<sharename>

                If those are faling then it's definitely security issue...

                Also if you use the Flux Forums, I keep the thread over there more up to date than this one (just an fyi).
                http://www.fluxmedia.net/

                Comment


                • #9
                  Hi, just downloaded the plugin and i like it

                  would it be possible to add another option?

                  when sync is complete, automaticly update the library...

                  if this would be possible that would be great!

                  Greetz

                  Dj NRG

                  Comment


                  • #10
                    Originally posted by Dj-[NRG] View Post
                    Hi, just downloaded the plugin and i like it

                    would it be possible to add another option?

                    when sync is complete, automaticly update the library...

                    if this would be possible that would be great!

                    Greetz

                    Dj NRG
                    yea that would be VERY usefull

                    Comment


                    • #11
                      Originally posted by Dj-[NRG] View Post
                      when sync is complete, automaticly update the library...

                      Dj NRG
                      That's not needed. CF automatically updates the library with anything new you copy to the music folders. It does it on the fly, behind the scenes.
                      2002 Honda CR-V
                      Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
                      Spent so far: $1105.90


                      Download the NEXUS Skin for Centrafuse
                      ...or even Listen to my music

                      Comment


                      • #12
                        ow, nice

                        so the plugin is perfect as it is

                        Greetz

                        Dj NRG

                        Comment


                        • #13
                          Ok i found another problem.

                          You cannot rename the plugin title. I don't want my Button to read SYNCFS but even if you rename it. Save it. It never holds. I can rename any other plugin/module.

                          Comment


                          • #14
                            Try opening the language file and changing it, this might work... I have not tried, but just a suggestion...

                            david
                            __________________
                            CENTRAFUSE http://www.centrafuse.com
                            01 Jeep Cherokee Sport 4x4 Installed
                            M10000/512Mb/20GB, Lilliput 7", Holux GM-210

                            Comment


                            • #15
                              Originally posted by veetid View Post
                              Try opening the language file and changing it, this might work... I have not tried, but just a suggestion...

                              david
                              That did the job. Thank you.

                              Comment

                              Working...
                              X