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

Implement support for YouTube TV (tv.youtube.com) #2187

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tech234a
Copy link

This pull request implements a reasonable level of support for YouTube TV (referring to YouTube's subscription cable TV replacement service available in the US at tv.youtube.com also known as YTTV, not regular YouTube on TVs.)

YouTube TV uses the same namespace of video IDs as the regular YouTube site, though the overlap of content available on both regular YouTube and YouTube TV is limited. One place where both sites do overlap is the "Free with ads" movies, where some segments have already been submitted:

List of existing IDs on SponsorBlock database likely accessible from YTTV; from sample of 20,000 video IDs from the YouTube movies channel
U8JOLjktORE,0,18.472,0,0,1,9cd53c025dd80bcc111ec09e7356d06299572a44f41ffbb7786b03af2b2f5e8f7,85c9e8d27b847cbc753af5acf5723149b41f028e965c14fb61f94440b27b2d5f,1723263388905,75,filler,skip,YouTube,7102.3105,0,0,0,0d449a18992a5a32cf2eb9ddac402155a8d490d6c069f06ef7fe4ec689141a56,mnjggcdmjocbbbhaepdhchncahnbgone/v5.7,""
kmMdx7gOqdo,3020.461,3020.461,0,0,1,09fe6c77c5d37c3e4ff7d06b2f890889026d2e68728f34ee9feac763f0c9967e7,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1726295393518,0,poi_highlight,poi,YouTube,5437.022,0,0,0,5046719648b17ef25dc64f66335e2c5c6045d62f317364a0fa693f8da6bd89e5,[email protected]/v5.8.1,""
MZi__DmqWDA,4820.175,4971.299,0,0,1,daf1ae5ec78b8fcb7972b0f339bf7008bdd0e6c275fd9a9545ab78acc3844c0d7,b319cb542dc2d2be69dbbf59d60c1800c1aa6162c07edb85847f90eb0e0dbc79,1726762588389,2,outro,skip,YouTube,4971.2993,0,0,0,341ff18cb985b3b876a98081b7e3e4018b96686be3774bbbda0134e2b18e385e,mnjggcdmjocbbbhaepdhchncahnbgone/v5.8,""
KWCc5Wix5LM,0,9.218,0,0,1,91cd8c57bb2181bc1de946ee2a51f3b89e7380f8e9bbbfd8cb083ea1130089977,008b5712793da52696b4fb7a535b4ac49149337b7dec8c5d42794da7fc99077c,1730010080375,542,intro,skip,YouTube,4120.6133,0,0.8827586,0,054f0df164e3d5322a77411a2cae5d48c9f7a99c84101b0a4babc026a3f53935,[email protected]/v5.9.4,""
KWCc5Wix5LM,4086.251,4120.613,0,0,1,e4692f400cc12fdf9f8096436b3e759f6139b242edab3b97df826bbd3278227d7,008b5712793da52696b4fb7a535b4ac49149337b7dec8c5d42794da7fc99077c,1730129344109,34,outro,skip,YouTube,4120.6133,0,0.8827586,0,054f0df164e3d5322a77411a2cae5d48c9f7a99c84101b0a4babc026a3f53935,[email protected]/v5.9.5,""
KWCc5Wix5LM,76.099,76.099,0,0,1,b2d96204b5dc8f7f74b5b09124051414bd902d1e2b40a9cfa7fff5f5e13d84f47,008b5712793da52696b4fb7a535b4ac49149337b7dec8c5d42794da7fc99077c,1730129950954,52,poi_highlight,poi,YouTube,4120.6133,0,0.8827586,0,054f0df164e3d5322a77411a2cae5d48c9f7a99c84101b0a4babc026a3f53935,[email protected]/v5.9.5,""
L-IjCaEMcK0,0,35.193,0,0,1,371db767de70dbba5b96d7051d7d9e7a480342ac39c4ecfa67bdab015e8c514a7,85c9e8d27b847cbc753af5acf5723149b41f028e965c14fb61f94440b27b2d5f,1731546788801,94,filler,skip,YouTube,5448.9106,0,0,0,a6d26a704f40c1939d47eda3d80114e778f5d92a022eca08a6093ce61eae9493,mnjggcdmjocbbbhaepdhchncahnbgone/v5.9.6,""
qqslUNkTuhI,0,7.5,0,0,1,d9a033da0ab9740259bf8e7ba5c191c7868c71d4cb4d4e49b8bc69745d8f87f67,b152f9e79410c8538e97dec66d3f3e06be103161145f4b4585363bf16ca1a36e,1731934003181,328,intro,skip,YouTube,3432.6523,0,0,0,872ecbc7b5c7d0ac852cb71872f7ff09da70d8c51adb687f2fde62f1d27ae08e,[email protected]/v5.9.5,""
guE0Qd8BRw0,4513.71,4513.71,0,0,1,61f5ec891d83fa28a6d7a67627d4cb7fa82884ede0fdf44d1c82ef926f1696057,dd0ce91728b4b7e99bf4db8e27ebd488cc7fa750f95363b513830147db5d336a,1733360145977,0,poi_highlight,poi,YouTube,6509.389,0,-2.0675676,0,92c2216269e7e512096ea91bd2161327bd2c02eed1f99e54419b1c3e006b938e,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10,""
guE0Qd8BRw0,4513.452,4513.452,0,0,1,197ac392242734742f0c58cf4ed5d4c59a4e421f3ab2e4bdb9b2468932dda66d7,dd0ce91728b4b7e99bf4db8e27ebd488cc7fa750f95363b513830147db5d336a,1733360185466,21,poi_highlight,poi,YouTube,6509.389,0,-1.8684211,0,92c2216269e7e512096ea91bd2161327bd2c02eed1f99e54419b1c3e006b938e,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10,""
guE0Qd8BRw0,3899.674,3899.674,-1,0,1,7e571ff0e3d628e92a761bfce464751f90c8e6f54d9df86429b74b9b31c02f287,3fb4525544fd55fcf9fe4b3f921ed2f19a5356e9535dcbe45975349f8ae5fbab,1733605259667,124,poi_highlight,poi,YouTube,6509.389,0,0,0,92c2216269e7e512096ea91bd2161327bd2c02eed1f99e54419b1c3e006b938e,[email protected]/v5.10.1,""
6w3iElemSYI,0,62.236,1,0,1,e3f2ff873332874cb34df5663fa05e7ac8024836604f57e9fdd934872facfc207,877faf9c1e95b44acd490256aaa8c58a0310fd869ec641fe65071a6ab925be3d,1733639675213,541,intro,skip,YouTube,6296.439,0,0,0,828a51da9edf3897a96f640eb5d66a114f8f51b263024fba856cdd2dd0cb7eea,[email protected]/v5.10.1,""
k43lG8yoCzg,0,52.959,0,0,1,47aa3d0351c964ef9a3b123192efe2e9a4b9e7246c971d6f5112cdcb6e4caef57,877faf9c1e95b44acd490256aaa8c58a0310fd869ec641fe65071a6ab925be3d,1733989397927,572,intro,skip,YouTube,7463.497,0,0,0,9cb2b13012ddb9644dd77180463fb29fd50dce2bbfa1d4c8daf2c5a8ea9389e0,[email protected]/v5.10.1,""
EcOmWePP7UY,0,24.062,0,0,1,ed4a9449737b6f1112137cac5b6e335288694e393e85367437e9660caaced9097,332ed8bcc6ee7a9550e5ba0a8349a1e331dca96acdbafff5b6c5976b44dcbc59,1734086344321,28,intro,skip,YouTube,5850.012,0,0,0,0445cabf0e77d3ba070aa7694bec86cb52f724cc8942ae228c91089a98ff059a,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.2,""
EcOmWePP7UY,5609.218,5837.235,0,0,1,c5d706f656e8db1814a1af3c7076ed734002c93a7e5a33c4a8c5f06aa9acdb2e7,332ed8bcc6ee7a9550e5ba0a8349a1e331dca96acdbafff5b6c5976b44dcbc59,1734092511924,11,outro,skip,YouTube,5850.012,0,0,0,0445cabf0e77d3ba070aa7694bec86cb52f724cc8942ae228c91089a98ff059a,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.2,""
ccWonHdjHGs,0,45.176,0,0,1,7a4be748f1ddca2066cda149c2411275674c14b7d31c684300b0432ad97342b07,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1734363557827,385,intro,skip,YouTube,7710.4644,0,0,0,81da9d948959990f983ee54a8f043cda5c30171ac5421ce370d4d246d3c82abb,[email protected]/v5.10.3,""
ccWonHdjHGs,7305.272,7710.4644,0,0,1,b51682b3a1743986948ebf84fffcac0b3b281888fcc52c3902c74fc5b37a4d607,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1734363622192,53,outro,skip,YouTube,7710.4644,0,0,0,81da9d948959990f983ee54a8f043cda5c30171ac5421ce370d4d246d3c82abb,[email protected]/v5.10.3,""
Hl2FkvyN3-s,0,20,0,0,1,a50510f85e6749a22285e3cabd7cd35bde585b495ce2aeec3d801cee1d5e5f367,bb0178770330c2447394486d5c004157c2b10d68c3c151d7c2d6e3071380604c,1734918780384,51,intro,skip,YouTube,5760.0117,0,0,0,e21376320a2690e3be95b1e48301a294e70193839558ee32049a2f61d1badd1a,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.3,""
Hl2FkvyN3-s,5587.895,5760.0117,0,0,1,f0d36fb45ac5bb8fc17c42591a4930799f473bb856f95c74c44ecf1be69bf6077,bb0178770330c2447394486d5c004157c2b10d68c3c151d7c2d6e3071380604c,1734918793524,4,outro,skip,YouTube,5760.0117,0,0,0,e21376320a2690e3be95b1e48301a294e70193839558ee32049a2f61d1badd1a,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.3,""
GP0jou_MTQU,0,32.506,0,0,1,0940ca890c8b778820c00bd40648f0c0a6162c53d1be9f897072be881a33ecec7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735617605038,28,intro,skip,YouTube,7494.612,0,0,0,873eaa3577b018a6a7f26d3d68c9d6f46e5e3298e949a4211958e12163698ef4,[email protected]/v5.10.3,""
GP0jou_MTQU,7185.599,7494.612,0,0,1,e6d7fb129d2702f45a9efc124392d5ab415e682ce2e3f60d3358b2db42bb17327,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735617650347,1,outro,skip,YouTube,7494.612,0,0,0,873eaa3577b018a6a7f26d3d68c9d6f46e5e3298e949a4211958e12163698ef4,[email protected]/v5.10.3,""
fd5M2eMO_ro,0,23.368,0,0,1,a2380ecadd0ae65cbeb3288c9fdb06a374c9612a4d1986ff5eabd3c92c8d74947,6b745fe156841c0b97605f25fe8f696a7aa95c9a183eb8119ab4177d0e6bf538,1735779922286,2,intro,skip,YouTube,5570.699,0,0,0,13ecee0278d969ae9cc35d4ca1cbce096ca60b8b44df189e277c10b535fcf0d5,[email protected]/v5.10.3,""
5dMTiRFmRY0,0,24.38,0,0,1,f3578d32b6f306538ab3ce0d902c9becfaf1fda83d6bd86a5d4bbb9baa965a997,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1735833025209,23,intro,skip,YouTube,7931.774,0,0,0,df3993b91b879197cc6ac89f25183eff61cf38d1d0b0dfd490e0b582698fa319,[email protected]/v5.10.3,""
PiFlujEF78Y,0,21.11,0,0,1,f53bee5efcff88d4541e7e23944886743fbdb3927c24f563828142c60bc67ca57,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845585917,63,intro,skip,YouTube,7421.3066,0,0,0,78713c50b6c8337c009fd01c71b759868aad8eccb43b64036c5b2bb9a947e22f,[email protected]/v5.10.3,""
PiFlujEF78Y,7036.96,7421.3066,0,0,1,4d1082d306d873b1fa269cba9c93575eefb3a49580488fd903b74e56490fe28e7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845613056,17,outro,skip,YouTube,7421.3066,0,0,0,78713c50b6c8337c009fd01c71b759868aad8eccb43b64036c5b2bb9a947e22f,[email protected]/v5.10.3,""
onVPNilk7B8,0,47.338,0,0,1,8ca8d792fe563fa10111dd7d95c810a2b2867b058df108f0c394256a9230c6767,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845712842,87,intro,skip,YouTube,6124.5415,0,0,0,d1ef468380d40c07a076d9f7ab03014f88b066623def2b6406e53cf4dfb91c37,[email protected]/v5.10.3,""
onVPNilk7B8,5605.092,6124.5415,0,0,1,e084aae5f4dc88c63eb716e70cd3e71672f16ded2535455216939f8dd6ba723d7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845734958,18,outro,skip,YouTube,6124.5415,0,0,0,d1ef468380d40c07a076d9f7ab03014f88b066623def2b6406e53cf4dfb91c37,[email protected]/v5.10.3,""
w7IoRUxh_uo,0,39.213,0,0,1,31333f8cdc6a5256f158fddf9283f6868c287de999709c6684536741837bfe427,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845762837,13,intro,skip,YouTube,7793.7544,0,0,0,f6b2ddaa192e59dca8ee851c20c8cc806423c58e1fcb688844a91efc00665cfb,[email protected]/v5.10.3,""
w7IoRUxh_uo,7390.6,7793.7544,0,0,1,0b111e49aa9277625bba7495c1ab67e7b367e72eba8a75c505d1d0ce0187899b7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845789376,2,outro,skip,YouTube,7793.7544,0,0,0,f6b2ddaa192e59dca8ee851c20c8cc806423c58e1fcb688844a91efc00665cfb,[email protected]/v5.10.3,""
TMUaY609iYc,0,21.74,0,0,1,e1d79595790f7f24ef9439cacfb91d72cfd57edca814567ee2f11885b7e6ffa07,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845836014,254,intro,skip,YouTube,5510.9775,0,0,0,8f94c7fb04e02b8eabeeb400659133c0ee326087829eb17c24e61e4ac24ee2fe,[email protected]/v5.10.3,""
TMUaY609iYc,5298.755,5510.9775,0,0,1,8c2ad2d3d4e467bd4d5a1eacd4a6c7dc77a81ffe05f3cfdbbf698cbd440e12bd7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845929062,37,outro,skip,YouTube,5510.9775,0,0,0,8f94c7fb04e02b8eabeeb400659133c0ee326087829eb17c24e61e4ac24ee2fe,[email protected]/v5.10.3,""
_Eey0dG1B2Y,0,74.073,1,0,1,ad1d8a88c7525761f80eb13d8f765e119f7f940f06983d15b26ca381ef54522c7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735845985631,336,intro,skip,YouTube,4804.1157,0,0,0,b033e94cd7b9d698ae882c02cfb3b2ff288011d9d39628c9d9b764aad1c3bada,[email protected]/v5.10.3,""
_Eey0dG1B2Y,4377.257,4804.1157,0,0,1,d923f17eedd03dd0b34c5931a3e6d570b639a2d9cbd8b0fa46b76ac7a74b278b7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846011704,48,outro,skip,YouTube,4804.1157,0,0,0,b033e94cd7b9d698ae882c02cfb3b2ff288011d9d39628c9d9b764aad1c3bada,[email protected]/v5.10.3,""
LlQVSDBfcO4,0,22.782,0,0,1,ad5c1f499dcf05327be8a9dacc0f500dd46e80984a2898c64e7984bbdfda1ede7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846039334,9,intro,skip,YouTube,6794.4604,0,0,0,7eea1ec70fc4ff8dc45421f8287f0b8dc5df6bd83151226b554aa426561921de,[email protected]/v5.10.3,""
LlQVSDBfcO4,6138.143,6794.4604,0,0,1,2c32ee34eee0de8f994f62a2db208dbbe109c83fc65eb815ac1e58e86789813d7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846069617,1,outro,skip,YouTube,6794.4604,0,0,0,7eea1ec70fc4ff8dc45421f8287f0b8dc5df6bd83151226b554aa426561921de,[email protected]/v5.10.3,""
k5k5C26l2os,0,40.971,0,0,1,9168fdf22fc6dcab6fd73930e6c3002bac18bfde8a579cf42667d561e07ab2767,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846169042,10,intro,skip,YouTube,6819.0273,0,0,0,6ac63973c215cde76dd7508acf437b1a80b3dbfd5112ced441cef32c2190feb8,[email protected]/v5.10.3,""
k5k5C26l2os,6433.112,6775.715,0,0,1,fab3e9dc938f826c676db0a119bcde3b2141331ef6fabbaad17e77a7e444cefe7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846222977,1,outro,skip,YouTube,6819.0273,0,0,0,6ac63973c215cde76dd7508acf437b1a80b3dbfd5112ced441cef32c2190feb8,[email protected]/v5.10.3,""
k5k5C26l2os,6795.145,6819.0273,0,0,1,e6cdba9ffade0d3e050c338b45d6b367f9ce30794b6fe7a9995c5c03313351e77,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846238922,1,outro,skip,YouTube,6819.0273,0,0,0,6ac63973c215cde76dd7508acf437b1a80b3dbfd5112ced441cef32c2190feb8,[email protected]/v5.10.3,""
KcSJmDnB4eM,0,22.336,0,0,1,812ab0babf3da9b68b2fe633f1a93497f55ef1b4c979a9c9c129b07d9ebd476a7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846271516,13,intro,skip,YouTube,6116.786,0,0,0,08b42b28cd2a44c9052166698db5b63bcdff899ec176165392e4d038753404c0,[email protected]/v5.10.3,""
KcSJmDnB4eM,5962.829,6116.786,0,0,1,cddef55958b1c290678219a7840b5a12e8071033313e5462bff80a503f5ab97c7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846288907,1,outro,skip,YouTube,6116.786,0,0,0,08b42b28cd2a44c9052166698db5b63bcdff899ec176165392e4d038753404c0,[email protected]/v5.10.3,""
6PwI4wkt-s0,0,22.675,0,0,1,48be824284005aff181a0e97acd7708f6a00901066bd0030f05db003c03d59fa7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846322337,6,intro,skip,YouTube,7428.1562,0,0,0,2ec58d7f11f3e8c5c794c0483e5c28ad217642db4113574eae12f22b78c31fc8,[email protected]/v5.10.3,""
6PwI4wkt-s0,7407.195,7428.1562,0,0,1,3dcc58598542cf67e178c7d3a87710b3273ce551992a08df05517d3f62046acf7,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735846355132,1,outro,skip,YouTube,7428.1562,0,0,0,2ec58d7f11f3e8c5c794c0483e5c28ad217642db4113574eae12f22b78c31fc8,[email protected]/v5.10.3,""
hx7jAFEvqSQ,7452.689,7890.7676,0,0,1,9b4d5f391ad02db1d549f993140b795ce935c1100e7e1a296ebe69eaa1770a297,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735924475680,22,outro,skip,YouTube,7890.7676,0,0,0,f8b31079fa5626dde76da9d315824d45bfecfa937d9f7e668618b7bc8f569099,[email protected]/v5.10.3,""
lNGVW_KLszY,0,29.258,0,0,1,507fe314da2a7b6cf4428f2ac9407b6658f96300f2a88ca1236e722deaf92c437,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735924511978,37,intro,skip,YouTube,5284.374,0,0,0,a8b72a5683aa14b6dd832b9a4821bc1ffbf4c731503500507df085d8b63d07bb,[email protected]/v5.10.3,""
lNGVW_KLszY,4941.041,5284.374,0,0,1,e2a7f956c4bd021a404fd85b4958112d40ad17247f0a396d5a3084df899d02107,9f868e476965a5159abf600003fc2245fc1efccbbf7c4a51b7e5c606faca71db,1735924548316,6,outro,skip,YouTube,5284.374,0,0,0,a8b72a5683aa14b6dd832b9a4821bc1ffbf4c731503500507df085d8b63d07bb,[email protected]/v5.10.3,""
vBzxrvTl-ik,0,88.539,0,0,1,68885e7fa4edd8ad29be17d169a01a09608ac9c6c78da192469a5ccd2c822d867,3cae2a64f1a67f63d5f9b0df969f2424f9381ce37129d75206236dba44618a18,1736191343497,150,preview,skip,YouTube,5365.574,0,0,0,0d1b6d56e188862d2405eb899b1d9593adba97471ae4965808aef6dcfb9ac5e6,mbmgnelfcpoecdepckhlhegpcehmpmji/v5.10.5,""
eVLGaYhoorI,5642.095,5966.9478,0,0,1,67e0fbca71d620160b6f82e8387bdf679aa1089df78e382e98ed226517a0ece77,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736322768431,16,outro,skip,YouTube,5966.9478,0,0,0,0e90dff96fa044a14c2fa154ca399b21b9bb6a6c719876faa8b0e1cdc8317ec5,[email protected]/v5.10.3,""
eVLGaYhoorI,0,52.151,0,0,1,d1cca50e821e51774ff1862010da5a0f921ff66b5e18dcb19bb796c129ad818d7,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736322881617,92,intro,skip,YouTube,5966.9478,0,0,0,0e90dff96fa044a14c2fa154ca399b21b9bb6a6c719876faa8b0e1cdc8317ec5,[email protected]/v5.10.3,""
YdEJQX6Wn68,0,57.711,0,0,1,57f75951ef540c7992b002c1dc4c63165f18ad3b04ec177d1311f174c2eae6d57,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736323014532,82,intro,skip,YouTube,7270.4233,0,0,0,ce32ba99c76302c86db5f29a748bdc410da43495150455b744e6ac66771377d6,[email protected]/v5.10.3,""
YdEJQX6Wn68,6940.2,7270.4233,0,0,1,9894cc6183a37ca8a31880cfd3f0b81f9a8c7b180c5f7823a4c089492840b7b17,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736323089821,17,outro,skip,YouTube,7270.4233,0,0,0,ce32ba99c76302c86db5f29a748bdc410da43495150455b744e6ac66771377d6,[email protected]/v5.10.3,""
WVGU5OyYPY0,0,170.267,0,0,1,338517ff9647946211c4cfa2221d3f67f98e2be2191c45480dc89ae7edb2d8537,8dc0f2aa55ac29ea05a5660774e2e6b4a0f8cb36f03b5c30a76194d5728d9ac5,1736323741498,152,intro,skip,YouTube,5660.9087,0,0,0,e5e9e44d050dc5d4d8ea37f6a8170dc15bfef719e9ccc2ef48a046f1f56be88d,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.5,""
a5ZIiWNBRNo,0,31.923,0,0,1,d170d6a056f188c043ae60d284993687854f53f4bd755f28bb1db13b576e17b37,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736343018508,47,intro,skip,YouTube,6542.8027,0,0,0,c235cb3128eae074138b302d52c5fe800692e0baf11d95bf8dae37390456aab6,[email protected]/v5.10.3,""
a5ZIiWNBRNo,6212.858,6542.8027,0,0,1,1fcc09b0c7d7333f2af4d2924a556a7798245aec98bb0bd94f6cb34eff63a8457,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736343123634,17,outro,skip,YouTube,6542.8027,0,0,0,c235cb3128eae074138b302d52c5fe800692e0baf11d95bf8dae37390456aab6,[email protected]/v5.10.3,""
WVGU5OyYPY0,1690.06,1690.06,0,0,1,a53df00a9fc7569bafea52aeb9ca3857d2a7b2da1b1c6ee1e0cd3f4b514b36947,c130dd7116495e2acc39f5f27c48c2672c3b2228a792c0031b4228a7508c7956,1736478375532,15,poi_highlight,poi,YouTube,5660.9087,0,0,0,e5e9e44d050dc5d4d8ea37f6a8170dc15bfef719e9ccc2ef48a046f1f56be88d,mnjggcdmjocbbbhaepdhchncahnbgone/v5.10.5,""
yVUIRcWTq0g,8946.195,9409.469,0,0,1,9dcfab72942cd5351be890029d28c4f28073bcbb0d6e28dea9e8da934e7a54097,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736661167699,0,outro,skip,YouTube,9409.469,0,0,0,cd2aa1bbc67d0428177b6d4f5dd58f8ebde76f045ee404b3f1ed9b83414462c2,[email protected]/v5.10.5,""
yVUIRcWTq0g,0,57.526,0,0,1,a5e0d80d9fed15c2fd05915091c32e41d239899d64ad9bd359302c861b2c3c6c7,731774fa141d72bb75f14655edb157b18801750ebf1906b6c3103288bd6b4211,1736661261334,0,intro,skip,YouTube,9409.469,0,0,0,cd2aa1bbc67d0428177b6d4f5dd58f8ebde76f045ee404b3f1ed9b83414462c2,[email protected]/v5.10.5,""

See also: zO2-JxMLroE

Notably, the player on YTTV is somewhat different from regular YouTube. For example, using the arrow keys skips ahead/back 15 seconds instead of 5 seconds, and the , and . keys do nothing instead of going frame by frame.

This pull request depends on: ajayyy/maze-utils#12 and ajayyy/ExtensionTranslations#73

Implemented features include:

  • skipping
  • colored highlighting on the player seek bar
  • display of chapter names/segment names
  • adjusted video lengths
  • buttons for creating segments

Unimplemented features include:

  • creating segments on live/recent DVR recordings: I added an alert() when attempting to start a segment in this case. I blocked this because the timestamps were weird as under the hood, live content appears to be a monthslong livestream. SponsorBlock was consistently detecting these timestamps as being around the 13 hour mark, which I suspect is due to the underlying video being a full YouTube livestream buffer. Livestreams and recent recordings are converted to regular videos a few hours after recording (with a different video ID) where this issue does not exist. VODs should also be free of this issue.

  • channel whitelisting (getting the channel ID seemed to be non-obvious and generally makes less sense with cable TV; on YTTV I've seen UCIDs refer to TV shows as well as traditional TV channels). I updated the existing error message string but the alert() displays somewhat oddly in Firefox:
    image

  • mini player integration (on YTTV the "miniplayer" is basically just a variation of the bottom bar from the regular player where the video keeps playing but is mostly scrolled offscreen; skipping appears to work but highlighting/chapter names/voting/adjusted video lengths are not displayed on the miniplayer)

  • the seek bar is not visually split into chapter segments

Basic testing performed in Firefox and Chrome.

  • I agree to license my contribution under GPL-3.0 and agree to allow distribution on app stores as outlined in LICENSE-APPSTORE

To test this pull request, follow the instructions in the wiki.


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

Successfully merging this pull request may close these issues.

1 participant