Aerial icon indicating copy to clipboard operation
Aerial copied to clipboard

Separately update videos.json and Aerial Screensaver App

Open VasilisPat opened this issue 4 years ago • 5 comments

All this would apply after the original auto-update is introduced.

Since the videos list is updated frequently by Apple and there is no way to keep up releasing new version of the app to accomodate the new videos every time this happens, is there any chance that the videos.json file is updated separately from the main app. One task would only check for new videos and the other only for new app versions, assuming that an app update isn't required so that the new videos can be added to the settings list.

VasilisPat avatar Jun 03 '20 10:06 VasilisPat

Yes, I've been thinking about this for a while, and think it can be done, once we have more 'auto-update' features.

OrangeJedi avatar Jun 03 '20 13:06 OrangeJedi

Just a question to see if I can help, are you planning to use the electron included "auto-update" package?

VasilisPat avatar Jun 03 '20 13:06 VasilisPat

Maybe. I haven't really looked into it, but it does look promising.

OrangeJedi avatar Jun 03 '20 13:06 OrangeJedi

How are we getting the videos.json currently?

Alexyoe avatar Nov 10 '22 01:11 Alexyoe

It's a messy process. All the video info comes from Apple at this link. The problem with auto updating is that the URL changes whenever Apple releases new videos (which only happens once a year) and that the format of the file has changed to. You can see more of what I wrote here. Updating the other video information, like points of interest, is we even worse as the files are compressed in a wild format. Currently I use a few custom scripts and a lot of manuel formating to add them to the video file.

If the update notifyer in v1.1.0 works well, I'm planning on having Aerial check for new versions of the video.js file on the master branch and download the new file if there is a chance. Currently I thinks that's the best bet for an auto updating video file.

OrangeJedi avatar Nov 10 '22 15:11 OrangeJedi