Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use YiScanner.1.2.14? #3

Closed
Deee46 opened this issue Dec 13, 2017 · 6 comments
Closed

How to use YiScanner.1.2.14? #3

Deee46 opened this issue Dec 13, 2017 · 6 comments

Comments

@Deee46
Copy link

Deee46 commented Dec 13, 2017

need help, can anyone tell me how to use this quickly? i tried reading the readme but when i ran the "Wikiled.YiScanner.exe" by double clicking it it just opens a black screen..

i did edit "service.json" to reflect 192.168.1.5. but do i have to change anything in appsettings.json?

or did i understand on how this works? my goal is to save/copy all files from ftp to my Windows 2011 server as i have 4 bay 2TB there..

Thanks all in advance.

@Deee46
Copy link
Author

Deee46 commented Dec 13, 2017

BTW this is the error i got in logs

2017-12-13 12:17:48.4809 [Program] [1] INFO Starting 1.2.14.0 version utility...
2017-12-13 12:17:48.5121 [Program] [1] ERROR System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.
at Wikiled.YiScanner.Commands.BaseCommand..ctor(FtpConfiguration ftpConfiguration)
at Wikiled.YiScanner.Program.Main(String[] args)

@AndMu
Copy link
Owner

AndMu commented Dec 14, 2017

Hi, what OS you are using?
I suspect it is some older windows version.
Please install .NET 4.6.2 Framework
https://www.microsoft.com/en-us/download/details.aspx?id=53345

@Deee46
Copy link
Author

Deee46 commented Dec 14, 2017

i am running Windows Server 2011.. looks like the 4.6.2 framework did the trick but after running the .exe i have this screenshot below but i do not see the files being pulled from ftp.. i did not touch any settings aside from the "host name" in service.json so it should copy from to my D drive but no folders or files etc.

what am i missing? do i have to edit or touch anything in appsettings? Thank you.

yi

@AndMu
Copy link
Owner

AndMu commented Dec 15, 2017

That's by design as in this mode (monitoring) it will download only new images/videos only (with a small delay).
In monitoring mode, once service/app started it creates the list of all images on the camera and only downloads new images.
I suppose I could change that, but if you want to download all existing videos you can use command:
Wikiled.YiScanner.exe Download -Cameras=1080i -Hosts=192.168.0.202 -Out=c:\out
In next version, I can add configuration option, which would tell the app to download all existing videos.

@Deee46
Copy link
Author

Deee46 commented Dec 15, 2017

@AndMu - all good now. once again thank you and will wait for the next release. how i wish time stamp will be kept when copying but i guess it is what it is..

my Yi watermark is a few hours behind too :-( i guess that's what i get from being cheapo lol..

@AndMu
Copy link
Owner

AndMu commented Dec 16, 2017

Added new release.
If you add new option: "All":true
It will download all images (not downloaded before)
https://github.com/AndMu/YiScanner/releases/tag/v1.2.15

@AndMu AndMu closed this as completed Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants