Commit 9d030db
fix: resolve legacy-agent GUIDs in Fix Thumbnails
_video_id_from_plex_item now parses com.plexapp.agents.youtube-as-movies
GUIDs by URL-decoding the embedded file path and running extract_video_id
on the filename and parent directory name, with a stem_index fallback for
no-bracket filenames. _fix_all_thumbnails accepts and passes stem_index to
the resolver so the thread captures a stable reference.
Covers all four previously-skipped real-world cases:
- MeTube layout with ID in folder name (numeric 10/8-digit IDs)
- Short alphanumeric IDs in folder name
- No-bracket filenames resolved via stem_index
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 43083f8 commit 9d030db
2 files changed
Lines changed: 100 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
674 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
675 | 682 | | |
| 683 | + | |
| 684 | + | |
676 | 685 | | |
677 | 686 | | |
678 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
679 | 705 | | |
680 | 706 | | |
681 | 707 | | |
| |||
897 | 923 | | |
898 | 924 | | |
899 | 925 | | |
| 926 | + | |
900 | 927 | | |
901 | 928 | | |
902 | 929 | | |
| |||
931 | 958 | | |
932 | 959 | | |
933 | 960 | | |
934 | | - | |
| 961 | + | |
935 | 962 | | |
936 | 963 | | |
937 | 964 | | |
| |||
970 | 997 | | |
971 | 998 | | |
972 | 999 | | |
973 | | - | |
| 1000 | + | |
| 1001 | + | |
974 | 1002 | | |
975 | 1003 | | |
976 | 1004 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
85 | 152 | | |
86 | 153 | | |
87 | 154 | | |
| |||
0 commit comments