/apple_tv_screensaver_downloader

Download Apple TV Screensaver Videos in 4K HDR, with subtitles

Primary LanguagePython

[this project is incomplete and currently a work in progress]

7/25/23

  • Changed Text file Outputs to 'w' rather than 'wb' for Python3 Compatibility
  • Enclosed print statements in parentheses print (xx)

todo

add in the new sources.

download and untar within python

Readme

This repo is used to download the Apple TV screensavers in 4k HDR mov format.

The entries.json file and urls-aria.txt are updated to current, to update, follow the instructions below.

Or to download in another format or resolution, such as SDR or 1080p, edit and re-run parse_entries.py and edit HDR to SDR, and/or 4K to 1080.

Update entries.json:

https://sylvan.apple.com/Aerials/resources.tar

Inside the tar file, extract entries.json to current directory.

Parse entries file

Parse json to txt and csv files: parse_entries.json

aria download command

Download videos using aria:

aria2c --check-certificate=false -i urls_aria.txt -c -d ./apple_4k_screensaver_videos/

Subtitles / points of interest:

In the resources.tar file, extract ./TVIdleScreenStrings.bundle/en_GB.lproj/Localizable.nocache.strings. (you can use another file based on your locale preference)

Using the following website, convert this file to xml and download as strings.xml and put in current directory: https://localise.biz/free/converter/ios-to-android

Run parse_sub_strings.py to convert strings.xml to sub_strings.json.

Run make_subs.py to convert sub_strings.json to .srt subtitles files in the directory './subtitles/'.

Notes

Gist: https://gist.github.com/dmn001/471efcecc19bfb9be7a8575a557162b7

2021-05-30: There are 63 videos with total size 20.17 GB.

source list

https://github.com/JohnCoates/Aerial/blob/2ff3ec389d2854f691a1fb33ebb6d962cde84cbf/Aerial/Source/Models/Sources/SourceList.swift