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

Aerial can not find my manual downloaded cache #781

Closed
6 tasks done
xiaochunjimmy opened this issue May 18, 2019 · 3 comments
Closed
6 tasks done

Aerial can not find my manual downloaded cache #781

xiaochunjimmy opened this issue May 18, 2019 · 3 comments

Comments

@xiaochunjimmy
Copy link

General troubleshooting tips

Before logging an issue please check that:

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.

Required information

In order to help us sort your issue, we ask that you provide the following information:

  • Mac model: iMac 2017 Retina 5K
  • macOS version: Mojave 10.14.5
  • Monitor setup: iMac 27-inch (5120x2880)

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).

Description of issue / Feature request

I used a manual location for my cache videos, and I downloaded the videos manually with the links in tvos10.json.
But when I open the preference of Arial, the video list still show + icon button rather than .
The preview window play videos using Network rather than cached files.


Here's the screenshot of my cache files.
WX20190518-205134@2x


Here's the screenshot of my Aerial preferences.
image


This is the AerialLog:
20:40:50 : UI logToDisk: true
20:42:11 : <AerialView: 0x7fc4ec61ee80> AVPlayerItemPlaybackStalledNotification name = AVPlayerItemPlaybackStalledNotification, object = Optional(<Aerial.AerialPlayerItem: 0x600000060880, asset = <AVURLAsset: 0x600000060780, URL = streaming://sylvan.apple.com/Videos/comp_DB_D011_C010_PSNK_DENOISE_v19_SDR_PS_20180914_SDR_2K_AVC.mov>>), userInfo = nil
21:01:31 : <AerialView: 0x7fc4ec61ee80> AVPlayerItemPlaybackStalledNotification name = AVPlayerItemPlaybackStalledNotification, object = Optional(<Aerial.AerialPlayerItem: 0x600000060880, asset = <AVURLAsset: 0x600000060780, URL = streaming://sylvan.apple.com/Videos/comp_DB_D011_C010_PSNK_DENOISE_v19_SDR_PS_20180914_SDR_2K_AVC.mov>>), userInfo = nil
21:03:33 : <AerialView: 0x7fc4ec61ee80> AVPlayerItemPlaybackStalledNotification name = AVPlayerItemPlaybackStalledNotification, object = Optional(<Aerial.AerialPlayerItem: 0x600000060880, asset = <AVURLAsset: 0x600000060780, URL = streaming://sylvan.apple.com/Videos/comp_DB_D011_C010_PSNK_DENOISE_v19_SDR_PS_20180914_SDR_2K_AVC.mov>>), userInfo = nil
21:03:38 : <AerialView: 0x7fc4ec61ee80> played did reach end
21:03:38 : <AerialView: 0x7fc4ec61ee80> notification: name = AVPlayerItemDidPlayToEndTimeNotification, object = Optional(<Aerial.AerialPlayerItem: 0x600000060880, asset = <AVURLAsset: 0x600000060780, URL = streaming://sylvan.apple.com/Videos/comp_DB_D011_C010_PSNK_DENOISE_v19_SDR_PS_20180914_SDR_2K_AVC.mov>>), userInfo = nil
21:03:38 : <AerialView: 0x7fc4ec61ee80> observeValue Optional("readyForDisplay")
21:03:38 : <AerialView: 0x7fc4ec61ee80> Setting player for all player layers in []
21:03:38 : shouldRestrictByDayNight : true (night)
21:03:38 : initvideocache
21:03:38 : <AerialView: 0x7fc4ec61ee80> streaming video (not fully available offline) : https://sylvan.apple.com/Videos/comp_GMT329_113NC_396B_1105_ITALY_v03_SDR_FINAL_20180706_SDR_2K_AVC.mov
21:03:38 : <AerialView: 0x7fc4ec61ee80> observing current item <Aerial.AerialPlayerItem: 0x600000136de0, asset = <AVURLAsset: 0x6000001369a0, URL = streaming://sylvan.apple.com/Videos/comp_GMT329_113NC_396B_1105_ITALY_v03_SDR_FINAL_20180706_SDR_2K_AVC.mov>>
21:03:38 : <AerialView: 0x7fc4ec61ee80> playing next video for player Optional(<AVPlayer: 0x6000002689f0>)
21:03:38 : AssetLoaderDelegate deinit
21:03:39 : Processsing contentInformationRequest
21:03:39 : expected content length: 103228938 type:com.apple.quicktime-movie
21:03:39 : Processsing contentInformationRequest
21:03:39 : expected content length: 103228938 type:com.apple.quicktime-movie
21:03:44 : connectionDidFinishLoading
21:03:45 : <AerialView: 0x7fc4ec61ee80> observeValue Optional("readyForDisplay")
21:03:45 : locale.languageCode en

@glouel
Copy link
Collaborator

glouel commented May 18, 2019

Hi @xiaochunjimmy !

First thanks a lot for the log and all the details you provided.

So it looks like you only downloaded the videos from tvOS10.json, not from the other two. I would suggest you also get the videos from the entries.json first, those are the most recent ones and it will fill the list for you.

By default Aerial uses the most recent videos available, and that means that some of the older ones from the tvOS10.json will get unused, because Apple replaced them with newer versions of those videos (some are color corrected, some are longer/shorter, etc). Aerial can't use those because most of the time they don't align with the new text descriptions. But there are some videos in those json that are still used, which is why we download some of them too.

If you look at the log, Aerial is looking for this file "comp_DB_D011_C010_PSNK_DENOISE_v19_SDR_PS_20180914_SDR_2K_AVC.mov" which comes from the tvOS12 json. You do not have this file in your directory.

So grab those from entries.json, and if you want everything, from tvOS11.json too. The files you want from the json are those where the line starts with "url-1080-H264" : . Make sure you quit and reopen System Preferences (not just Aerial panel, the full System Preferences window) so that Aerial can pick your newly downloaded videos.

By downloading all videos manually, you will have duplicates (the old files from tvOS10). When you are done, you can go to the Advanced tab and use the Trash old videos options on the right. This will delete the duplicate video versions and will let you keep only the videos that you need.

Capture d’écran 2019-05-18 à 15 34 07

Hopefully this makes sense. If you need any more explanation feel free to ask !

Edit : One last thing, if you check your screenshot, videos that are cached will show no + sign, and ↓ sign either. The ↓ is only showed when files are queued for download. Downloaded files have no extra badges. So in your screenshot, "Longji Rice Terraces" and the night version of "Sheikh Zayed Road" are already properly downloaded and cached.

@xiaochunjimmy
Copy link
Author

xiaochunjimmy commented May 19, 2019

Thankyou so much~
I redownloaded videos from the entire.json and Aerial recognized the caches.


I simplified the JSON file content with download links only so that other users can copy and paste the links directly to download software.
Aerial-Download-Links-1080p.H264.txt

@glouel
Copy link
Collaborator

glouel commented May 20, 2019

Glad this fixed it for you !

@glouel glouel closed this as completed May 20, 2019
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