mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
From some information, YouTube was changed some configurations from
2010/July/22. And we need to update URL for mediatomb. Approved by: maintainer timeout
This commit is contained in:
parent
b044a8117b
commit
ed6738970f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265378
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= mediatomb
|
||||
PORTVERSION= 0.12.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net multimedia
|
||||
MASTER_SITES= SF/${PORTNAME}/MediaTomb/${PORTVERSION}
|
||||
|
||||
|
11
net/mediatomb/files/patch-youtube_video_url.cc
Normal file
11
net/mediatomb/files/patch-youtube_video_url.cc
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/youtube_video_url.cc.org 2010-04-04 05:23:31.000000000 +0900
|
||||
+++ src/youtube_video_url.cc 2010-11-06 20:38:26.296613788 +0900
|
||||
@@ -47,7 +47,7 @@
|
||||
#define YOUTUBE_URL_PARAMS_REGEXP "var swfHTML.*\\;"
|
||||
#define YOUTUBE_URL_LOCATION_REGEXP "\nLocation: (http://[^\n]+)\n"
|
||||
#define YOUTUBE_URL_WATCH "http://www.youtube.com/watch?v="
|
||||
-#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?"
|
||||
+#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?asv=3&"
|
||||
#define YOUTUBE_URL_PARAM_VIDEO_ID "video_id"
|
||||
#define YOUTUBE_URL_PARAM_T_REGEXP ".*&t=([^&]+)&"
|
||||
#define YOUTUBE_URL_PARAM_T "t"
|
Loading…
Reference in New Issue
Block a user