2010-07-14, 12:31
In both my pc's with ubuntu karmic and lucid i must change permission of config folder to avoid cookies.tx to be written.
Without that file it works well..
Without that file it works well..
Wally25 Wrote:It looks like it would be easy to add 1080p support even 4K support. The fmt codes are,Thank you! Now I have 1080p support too.
22 for 720p
37 for 1080p
38 for 4k
Highest resolution: 360p / 480p / 720p / 1080p / Higher
andzei Wrote:Hello
I'm using XBCM 9.11 under Linux (Gentoo).
When I start anything in YouTube plugin I've got an error: "No module named YoutubeClient" - like below. What can be wrong?
Is the XBMC revision issue important?
Code:22:16:11 T:3024844640 M:777932800 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/YouTube/)
22:16:11 T:3024844640 M:777932800 DEBUG: ParentPath = [plugin://video/]
22:16:11 T:3024844640 M:777932800 DEBUG: StartScript - URL for plugin settings: YouTube/
22:16:11 T:3024844640 M:777932800 DEBUG: StartScript - calling plugin special://home/plugins/video/YouTube/default.py('plugin://video/YouTube/','0','')
22:16:11 T:3024844640 M:777932800 INFO: initializing python engine.
22:16:11 T:3024844640 M:777932800 DEBUG: Loading: /usr/share/xbmc/system/python/python26-i486-linux.so
22:16:11 T:3024844640 M:777932800 DEBUG: Python wrapper library linked with system Python library
22:16:11 T:3024844640 M:777932800 DEBUG: new python thread created. id=12
22:16:11 T:2857102192 M:777932800 DEBUG: thread start, auto delete: 0
22:16:11 T:2857102192 M:777932800 DEBUG: Python thread: start processing
22:16:11 T:3024844640 M:777932800 DEBUG: WaitOnScriptResult - waiting on the YouTube plugin...
22:16:11 T:2857102192 M:777932800 NOTICE: -->Python Interpreter Initialized<--
22:16:11 T:2857102192 M:777932800 DEBUG: Process - The source file to load is special://home/plugins/video/YouTube/default.py
22:16:11 T:2857102192 M:777932800 DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/plugins/video/YouTube:/usr/lib/python26.zip:/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload
22:16:11 T:2857102192 M:777932800 DEBUG: Process - Entering source directory /home/xbmc/.xbmc/plugins/video/YouTube
22:16:11 T:2857102192 M:777932800 NOTICE: [PLUGIN] 'YouTube: Version - 1.7.3-r' initialized!
22:16:11 T:2857102192 M:777932800 NOTICE: ** Required XBMC Revision: r19457 **
22:16:11 T:2857102192 M:777932800 NOTICE: ** Found XBMC Revision: r0 [Unknown] **
22:16:11 T:3024844640 M:778035200 DEBUG: WaitOnScriptResult- plugin returned successfully
22:16:11 T:2973379440 M:778035200 DEBUG: thread start, auto delete: 0
22:16:11 T:2973379440 M:778035200 DEBUG: Thread 2973379440 terminating
22:16:11 T:2857102192 M:778907648 INFO: Scriptresult: Success
22:16:12 T:2857102192 M:778887168 INFO: Python script stopped
22:16:12 T:2857102192 M:778887168 DEBUG: Thread 2857102192 terminating
22:16:12 T:3024844640 M:778887168 DEBUG: python thread 12 destructed
22:16:12 T:3024844640 M:778887168 INFO: Python, unloading python24.dll because no scripts are running anymore
22:16:12 T:3024844640 M:778887168 DEBUG: UnloadExtensionLibs, clearing python extension libraries
22:16:12 T:3024844640 M:778887168 DEBUG: Unloading: python26-i486-linux.so
22:16:16 T:2911894384 M:778895360 DEBUG: Thread 2911894384 terminating (autodelete)
22:16:16 T:2948201328 M:778895360 DEBUG: Thread 2948201328 terminating (autodelete)
22:16:20 T:3024844640 M:778919936 DEBUG: SDLKeyboard: scancode: 116, sym: 274, unicode: 0, modifier: 0
22:16:20 T:3024844640 M:778919936 DEBUG: OnKey: 61480 pressed, action is 4
22:16:20 T:2948201328 M:778919936 DEBUG: thread start, auto delete: 1
22:16:20 T:2948201328 M:778919936 INFO: msg: PICTURE::LoadImage: Unable to open image: YouTube/recently_featured-fanart.png Error: (2)
22:16:20 T:2948201328 M:778919936 ERROR: Texture manager unable to load file: YouTube/recently_featured-fanart.png
22:16:35 T:3024844640 M:778919936 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
22:16:35 T:3024844640 M:778919936 DEBUG: OnKey: 61453 pressed, action is 7
22:16:35 T:3024844640 M:778919936 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/YouTube/?title=u%27Aktualnie+ogl%5Cu0105dane%27&category='recently_featured'&page=1&vq=%27%27&username=%27%27&cat=%27%27&orderby='updated'&related=""&issearch=0&update_listing=0)
22:16:35 T:3024844640 M:778919936 DEBUG: ParentPath = [plugin://video/YouTube/]
22:16:35 T:3024844640 M:778919936 DEBUG: StartScript - URL for plugin settings: YouTube/
22:16:35 T:3024844640 M:778919936 DEBUG: StartScript - calling plugin special://home/plugins/video/YouTube/default.py('plugin://video/YouTube/','0','?title=u%27Aktualnie+ogl%5Cu0105dane%27&category='recently_featured'&page=1&vq=%27%27&username=%27%27&cat=%27%27&orderby='updated'&related=""&issearch=0&update_listing=0')
22:16:35 T:3024844640 M:778919936 INFO: initializing python engine.
22:16:35 T:3024844640 M:778919936 DEBUG: Loading: /usr/share/xbmc/system/python/python26-i486-linux.so
22:16:35 T:3024844640 M:778919936 DEBUG: Python wrapper library linked with system Python library
22:16:35 T:3024844640 M:778919936 DEBUG: new python thread created. id=13
22:16:35 T:2911894384 M:778919936 DEBUG: thread start, auto delete: 0
22:16:35 T:3024844640 M:778919936 DEBUG: WaitOnScriptResult - waiting on the YouTube plugin...
22:16:35 T:2911894384 M:778919936 DEBUG: Python thread: start processing
22:16:35 T:2911894384 M:778919936 NOTICE: -->Python Interpreter Initialized<--
22:16:35 T:2911894384 M:778919936 DEBUG: Process - The source file to load is special://home/plugins/video/YouTube/default.py
22:16:35 T:2911894384 M:778919936 DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/plugins/video/YouTube:/usr/lib/python26.zip:/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload
22:16:35 T:2911894384 M:778919936 DEBUG: Process - Entering source directory /home/xbmc/.xbmc/plugins/video/YouTube
22:16:35 T:2911894384 M:778919936 NOTICE: Traceback (most recent call last):
22:16:35 T:2911894384 M:778919936 NOTICE: File "/home/xbmc/.xbmc/plugins/video/YouTube/default.py", line 64, in <module>
22:16:35 T:2911894384 M:778919936 NOTICE: from YoutubeAPI import xbmcplugin_videos as plugin
22:16:35 T:2911894384 M:778919936 NOTICE: File "/home/xbmc/.xbmc/plugins/video/YouTube/YoutubeAPI/xbmcplugin_videos.py", line 14, in <module>
22:16:35 T:2911894384 M:778919936 NOTICE: from YoutubeAPI.YoutubeClient import YoutubeClient
22:16:35 T:2911894384 M:778919936 NOTICE: ImportError
22:16:35 T:2911894384 M:778919936 NOTICE: :
22:16:35 T:2911894384 M:778919936 NOTICE: No module named YoutubeClient
22:16:35 T:2911894384 M:778919936 ERROR: Scriptresult: Error
22:16:36 T:2911894384 M:778956800 INFO: Python script stopped
Thanks.
Nuka1195 Wrote:those who have video not playing at all issues. if you are logged in, try not entering a username in settings.
search results can be changed in xbmcplugin_categories.py.
change "updated" to "relevant". post back if the results are better, i may change it.
Code:categories += ( ( query.split( " | " )[ 1 ].encode( "utf-8" ), "videos", vq, username, cat, True, "updated", 0, thumbnail, False, ), )
and maybe
Code:if ( ptype == 2 ):
categories += ( ( xbmc.getLocalizedString( 30970 ), "search_categories", "", "", "", True, "updated", 3, "", False, ), )
elif ( ptype == 1 ):
categories += ( ( xbmc.getLocalizedString( 30955 ), "search_users", "", "", "", True, "updated", 2, "", False, ), )
else:
categories += ( ( xbmc.getLocalizedString( 30956 ), "search_videos", "", "", "", True, "updated", 1, "", False, ), )
for those with playing issues, where the video plays, but badly. that's an xbmc issue, that may be fixed in newer versions, which the current plugin will not work with.
if ( ptype == 2 ):
categories += ( ( __language__( 30970 ), "search_categories", "", "", "", True, "relevance", 3, "", False, ), )
elif ( ptype == 1 ):
categories += ( ( __language__( 30955 ), "search_users", "", "", "", True, "relevance", 2, "", False, ), )
else:
categories += ( ( __language__( 30956 ), "search_videos", "", "", "", True, "relevance", 1, "", False, ), )
categories += ( ( query.split( " | " )[ 1 ].encode( "utf-8" ), "videos", vq, username, cat, True, "[b]relevance[/b]", 0, thumbnail, False, ), )
birbilakos Wrote:no YoutubeClient.py file. Any thoughts?
http://www.megaupload.com/?d=QDJDKC6Y
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<!-- Plugin strings -->
<string id="30900">Guardar por defecto</string>
<string id="30901">¿Deseas guardar esta consulta por defecto?</string>
<string id="30902">¿No se pudo guardar la busqueda!</string>
<string id="30903">Error al guardar el fichero de la busqueda:</string>
<string id="30904">Sin descripcion</string>
<string id="30905">Nombre por defecto</string>
<string id="30906">Buscar por palabra clave</string>
<string id="30907">Buscar por usuario o ID</string>
<string id="30908">Cargando video...</string>
<string id="30909">Buscando video musical aleatorio...</string>
<string id="30910">Reproducir video por ID</string>
<string id="30911">Quisiste decir</string>
<string id="30912">Elegir categoria</string>
<string id="30913">Palabras clave - * para todos los videos</string>
<!-- Category strings -->
<string id="30950">Todos los videos</string>
<string id="30951">Mas vistos</string>
<string id="30952">Buscar videos</string>
<string id="30953">Buscar gente</string>
<string id="30954">Destacados</string>
<string id="30955">Buscar gente...</string>
<string id="30956">Buscar videos...</string>
<string id="30957">Mas valorados</string>
<string id="30958">Para el movil</string>
<string id="30959">Reproducir video musical aleatorio</string>
<string id="30960">Reproducir video por ID</string>
<string id="30961">Mis videos subidos</string>
<string id="30962">Mis favoritos</string>
<string id="30963">Favoritos</string>
<string id="30964">Mas comentados</string>
<string id="30965">Mas enlazados</string>
<string id="30966">Mas respondidos</string>
<string id="30967">Mas recientes</string>
<string id="30968">Videos relacionados</string>
<string id="30969">Buscar por categorias</string>
<string id="30970">Buscar por categorias...</string>
<string id="30971">Mi Suscripcion</string>
<!-- Context menu strings -->
<string id="30500">Videos relacionados</string>
<string id="30501">Descargar video</string>
<string id="30502">Informacion del video</string>
<string id="30503">Añadir a mis favoritos</string>
<string id="30504">Añadir video a la cola</string>
<string id="30505">Reproduciendo...</string>
<string id="30506">Borrar de mis favoritos</string>
<string id="30507">Videos por %s</string>
<string id="30508">Borrar busqueda guardada</string>
<string id="30509">Anadir carpeta a la cola</string>
<!-- messages -->
<string id="30600">Descargando: %s</string>
<string id="30601">Guardando %s</string>
<string id="30602">A: %s</string>
<string id="30603">Copiando: %s</string>
<!-- compatible messages -->
<string id="30700">Version</string>
<string id="30701">Esta versionde %s requiere una</string>
<string id="30702">actualizacion de XBMC a %s o superior para funcionar.</string>
<string id="30703">Por favor, actualiza tu XBMC.</string>
<!-- Plugin settings strings -->
<string id="30000">Nombre de usuario</string>
<string id="30005">Contraseña</string>
<string id="30010">Ver contenidos de</string>
<string id="30011">Siempre</string>
<string id="30012">Hoy</string>
<string id="30013">Esta semana</string>
<string id="30014">Este mes</string>
<string id="30020">Incluir contenido explicito</string>
<string id="30030">Numero de videos por pagina</string>
<string id="30040">Player core</string>
<string id="30050">Reproducir video en HD si esta disponible</string>
<string id="30060">Mostrar resultados de</string>
<string id="30061">Todos los paises</string>
<string id="30062">Australia</string>
<string id="30063">Brasil</string>
<string id="30064">Canada</string>
<string id="30065">Francia</string>
<string id="30066">Alemania</string>
<string id="30067">Reino Unido</string>
<string id="30068">Holanda</string>
<string id="30069">Hong Kong</string>
<string id="30070">Irlanda</string>
<string id="30071">Italia</string>
<string id="30072">Japon</string>
<string id="30073">Méjico</string>
<string id="30074">Nueva Zelanda</string>
<string id="30075">Polonia</string>
<string id="30076">Rusia</string>
<string id="30077">Korea del Sur</string>
<string id="30078">Espana</string>
<string id="30079">Taiwan</string>
<string id="30080">Estados Unidos</string>
<string id="30090">Numero de busquedas a guardar</string>
<string id="30100">Descargar mas</string>
<string id="30101">Temporalmente</string>
<string id="30102">Guardar</string>
<string id="30110">Directorio de descarga</string>
<string id="30120">- Usar titulo como nombre del archivo</string>
<string id="30130">Anadir imagen</string>
</strings>
exobuzz Wrote:I have modified the YoutubeClient.py (taken from the addons repo), and added support for rtmpe streams. This is used by the 4od channel for example - so allows playing back the channel 4 stuff which is there (plenty of shows).
If you are in the UK please give it a try. Go to Search People and add
4oD
4oDComedy
4oDDocumentaries
4oDDrama
4oDEntertainment
4oDFood
4oDHomes
4oDLifestyle
Get the plugin here: If you use the youtube addon on a recent linux/windows/osx xbmc, you can take the YoutubeClient.py from this archive and use it with the addon.
http://malus.exotica.org.uk/~buzz/xbmc/YouTube.zip