![]() |
Release YouTube - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release YouTube (/showthread.php?tid=356934) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
|
RE: YouTube - Yubby - 2023-05-01 You're probably having the same issue that I listed (previous page in this forum): "I downloaded the new "video_info.py" and installed it on my X86-based unit (LibreElec 10.0.4 Kodi 19.5 Matrix Youtube 6.8.25+matrix.1) and rebooted. The "Video not available on this app" issue was resolved, BUT, certain videos are erroring with the text "This Video is unavailable". Though, you can view the videos that return that error via a web browser.. ( https://www.youtube.com/watch?v=guXMb7zLblM ) " https://paste.kodi.tv/ugekucupar.kodi RE: YouTube - StrangeAlien - 2023-05-01 You can try this patch. Please, keep in mind, there are two files in different folders. Unpack them into appropriate places and restart Kodi. I tried Your file in problem and it was playing for me flawlessly. Also, I should warn You, I test patch on Leia (Kodi 18), not on Matrix, so I'm not sure it will work for You, so I would backup Your existing files RE: YouTube - atharmian - 2023-05-01 (2023-05-01, 22:53)StrangeAlien Wrote: You can try this patch. Please, keep in mind, there are two files in different folders. Unpack them into appropriate places and restart Kodi. I tried Your file in problem and it was playing for me flawlessly. Also, I should warn You, I test patch on Leia (Kodi 18), not on Matrix, so I'm not sure it will work for You, so I would backup Your existing filesOK, 1. Is the video_info.py the same as before, or updated? 2. Where does /signature/cipher.py go (filepath) ? RE: YouTube - StrangeAlien - 2023-05-01 1. It's different one 2. It's subfolder of "helper" folder where "video_info.py" located I.e., if "video_info.py" located in addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper, "cipher.py" located in addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/signature FIY, "signature" located in "helper" already, so just unpack zip into "helper" is enough RE: YouTube - atharmian - 2023-05-01 @StrangeAlien Thanks ! I am sure many will try and give feedback ![]() RE: YouTube - kurai - 2023-05-02 How can I trigger "Mark Watched" on a video with a single button press on my remote ? I know, I know ... an unusual question ... (i.e. not trying to resolve playback issues ![]() In a regular Kodi library list view I would send the "w" keypress (this is in the default keymap), a shortcut to the same function in the context menu - it triggers the action ToggleWatched "Marked as watched / unwatched" via setPlaycount() Though it's called a count, it doesn't increment with every play, but rather it's treated like a boolean, 0=unwatched, 1=watched However, the Youtube plugin is using a kinda/sorta/not-really "real" pseudo library list view, which makes sense when you consider it's not working with "normal" video library items, but stream URLs. This means that it needs to append extra entries in the context menus to do equivalent functions on these "not real video" items - hence the extra "Mark watched" as well as the inbuilt "Mark as watched" function. It triggers the python routine YouTube('plugin://plugin.video.youtube/playback_history/', '-1', '?video_id=ABC123def456&action=mark_watched') So - can you think of a way to map this functionality to a single button-press-equivalent ? Alternatively - ugly brute force method, how can I send the sequence of button equivalents : menu, down, down, down, down, Select ? Advice/suggestions welcome if you can think of a better way to achieve this, or if I'm coming at this in a wrong-headed way. RE: YouTube - shaktoo - 2023-05-02 (2023-05-02, 00:29)kurai Wrote: How can I trigger "Mark Watched" on a video with a single button press on my remote ?You know that if you long press the enter/OK on your remote it will open the context menu and then you can toggle watched /unwatched ... given that's 2 steps but wayyy easier then trying to remap commands to a button on the remote. If you definitely need to do it then the only way I know is by using Logitech Harmony Elite ', it's software makes it extremely easy to map a command to a physical or a non physical button on the remote LCD screen. This is what I use personally and would highly recommend it . ! Click This For The Forum link To Set Up RE: YouTube - shaktoo - 2023-05-02 A youtube video showing how its done Here RE: YouTube - kurai - 2023-05-02 (2023-05-02, 02:00)shaktoo Wrote: You know that if you long press the enter/OK on your remote it will open the context menu and then you can toggle watched /unwatched ... given that's 2 steps but wayyy easier then trying to remap commands to a button on the remote. Immediately after hitting Post Reply I remembered that you can trigger scripts directly from keymap ![]() /storage/.kodi/userdata/markwatched.py Code: import xbmc keymap.xml Code:
Works beautifully and means I don't have to do any of the foolish messing around with interkey delays from my original reply. Sometimes just formulating an answer to someone else lets your brain work out a better alternative in the background ![]() Edit: Ignore all this long-winded waffling from my original reply that I've shoved into the code box - the above above solution made it all irrelevant :/ Code: Yes, I'm aware of the <$key mod="longpress">command</$key> keymap function. Unfortunately it doesn't really help anything in this instance. Using the longpress/OK gets me to exactly the same place as just using the shortpress/Menu button - i.e. at the top of the context menu. The rest of the keysend sequence still needs to happen, manually or macroed. RE: YouTube - pauls156 - 2023-05-03 Any time I try to play a YouTube video on Kodi, particularly a trailer, I get an error saying “The following content is not available on this app”. Is there a workaround/fix yet for this? Thanks. RE: YouTube - blueribb - 2023-05-03 (2023-05-03, 00:23)pauls156 Wrote: Any time I try to play a YouTube video on Kodi, particularly a trailer, I get an error saying “The following content is not available on this app”. Is there a workaround/fix yet for this? Thanks. Install the latest version of the YouTube Addon here: Latest YouTube Addons Made sure you choose the correct one for you version of Kodi. These will be added to the Kodi Repository for updating the YouTube Addon soon, I think, if you want to wait. RE: YouTube - pauls156 - 2023-05-03 Thank you. How do I do it on Android tv? Thanks! RE: YouTube - blueribb - 2023-05-03 (2023-05-03, 01:42)pauls156 Wrote: Thank you. How do I do it on Android tv? Thanks!Are you running Kodi? If so, which version? Have you ever installed addons? RE: YouTube - pauls156 - 2023-05-03 Newest version of Kodi on Android TV. Yes to add ons. From the addon repository. Newest version of YouTube from the repository is installed. RE: YouTube - blueribb - 2023-05-03 (2023-05-03, 02:11)pauls156 Wrote: Newest version of Kodi on Android TV. Yes to add ons. From the addon repository. Newest version of YouTube from the repository is installed.What version of the YouTube Addon are you using? What is your exact version of Kodi? Can you plug in a USB Thumb Drive and access the addon zip file from within Kodi? |