Evgeny Cherpak
Evgeny Cherpak
Using _tPh value 5?
Was able to fix it, Apple TV closing the socket, by sending _systemInfo frame.
🚫 fastlane environment 🚫 ### Stack | Key | Value | | --------------------------- | ----------------------------------------------- | | OS | 13.1 | | Ruby | 3.1.2 | | Bundler? | false...
Well. The issue seems to be with sorting of the file ids by filename. Here what `Naturally.sort` produces ["iPhone 13 Pro Max-03_121096ee-a62d-4d5f-a58a-dbaa32360b8b_framed.jpg","iPhone 13 Pro Max-01_548a9d78-79ce-4313-8528-050db15a3a92_framed.jpg","iPhone 13 Pro Max-02_f739aaec-318a-47b0-8d45-ca292cd6c49b_framed.jpg","iPhone 13 Pro...
``` require 'naturally' ids = ["iPhone 13 Pro Max-03_121096ee-a62d-4d5f-a58a-dbaa32360b8b_framed.jpg","iPhone 13 Pro Max-01_548a9d78-79ce-4313-8528-050db15a3a92_framed.jpg","iPhone 13 Pro Max-02_f739aaec-318a-47b0-8d45-ca292cd6c49b_framed.jpg","iPhone 13 Pro Max-04_9612af46-cecd-4189-b998-ff1c8e948d9e_framed.jpg","iPhone 13 Pro Max-05_4feb2788-0750-4948-b49e-9b8fadb55d7d_framed.jpg","iPhone 13 Pro Max-06_ec081ce1-9c63-4036-83c1-d72d8fa4ade3_framed.jpg","iPhone 13 Pro Max-07_b0c6edf2-9eb8-4448-839b-ffdebba5d8fa_framed.jpg"] puts("Naturally.sort") puts(Naturally.sort(ids)) puts("sort")...
Output ``` Naturally.sort iPhone 13 Pro Max-03_121096ee-a62d-4d5f-a58a-dbaa32360b8b_framed.jpg iPhone 13 Pro Max-01_548a9d78-79ce-4313-8528-050db15a3a92_framed.jpg iPhone 13 Pro Max-02_f739aaec-318a-47b0-8d45-ca292cd6c49b_framed.jpg iPhone 13 Pro Max-04_9612af46-cecd-4189-b998-ff1c8e948d9e_framed.jpg iPhone 13 Pro Max-05_4feb2788-0750-4948-b49e-9b8fadb55d7d_framed.jpg iPhone 13 Pro Max-06_ec081ce1-9c63-4036-83c1-d72d8fa4ade3_framed.jpg iPhone 13 Pro...
Was able to fix by replacing Naturally.sort with `sorted_ids = app_screenshot_set.app_screenshots.sort_by { |s| s.file_name }.map(&:id)`
Still an issue here
By the way found this gem: https://github.com/Amoystyle/hao31.zhang/tree/0fb847a5c7c1bf287ff766210974e2272d0efc22/airplay/AirPlay/AirPlaySDK/AccessorySDK/Support It has full implementation of OPACK and some other stuff
Added just as reference for reverse engineering