Se podría modificar el sistema de reconocimiento de las serie de anime para que tambien salgan la del apartado de fansubs??
Me he aventurado a modificar el codigo y he conseguido que ya salgan en listado pero ni mucho menos me reconoce los archivos para porder verlos.
He aqui lo que he modificado
# Aportaciones de los usuarios / Fansubs
patron = '<h6 class="m">Fansubs que trabajan esta serie[/size]</h6>[^<]+'
patron += '<div id="user_actions">(.*?)</div>'
matches = re.compile(patron,re.DOTALL).findall(data)
Y el log del error intentando acceder a http://www.mcanime.net/fansubs/heiwai_n ... 2147/10830
18:51:01 T:4676 M:2137870336 NOTICE: -----------------------------------------------------------------------
18:51:01 T:4676 M:2137808896 NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar 8 2011 (Git:e9e9099, compiler 1500)
18:51:01 T:4676 M:2137808896 NOTICE: AMD Phenom(tm) 9850 Quad-Core Processor
18:51:01 T:4676 M:2137808896 NOTICE: Desktop Resolution: 1920x1080 32Bit at 59Hz
18:51:01 T:4676 M:2137808896 NOTICE: Running with administrator rights
18:51:01 T:4676 M:2137808896 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
18:51:01 T:4676 M:2137808896 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
18:51:01 T:4676 M:2137808896 NOTICE: special://masterprofile/ is mapped to: C:\Users\Administrador\AppData\Roaming\XBMC\userdata
18:51:01 T:4676 M:2137808896 NOTICE: special://home/ is mapped to: C:\Users\Administrador\AppData\Roaming\XBMC
18:51:01 T:4676 M:2137808896 NOTICE: special://temp/ is mapped to: C:\Users\Administrador\AppData\Roaming\XBMC\cache
18:51:01 T:4676 M:2137808896 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
18:51:01 T:4676 M:2137808896 NOTICE: Log File is located: C:\Users\Administrador\AppData\Roaming\XBMC\xbmc.log
18:51:01 T:4676 M:2137808896 NOTICE: -----------------------------------------------------------------------
18:51:01 T:4676 M:2137788416 NOTICE: Setup SDL
18:51:01 T:4676 M:2137219072 NOTICE: Found screen: Monitor PnP genérico on ATI Radeon HD 3600 Series, adapter 0.
18:51:01 T:4676 M:2137214976 NOTICE: Primary mode: 1920x1080 @ 59.94 - Full Screen
18:51:01 T:4676 M:2135568384 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
18:51:01 T:4676 M:2135490560 NOTICE: Additional mode: 640x480 @ 73.00 - Full Screen
18:51:01 T:4676 M:2135494656 NOTICE: Additional mode: 640x480 @ 75.00 - Full Screen
18:51:01 T:4676 M:2134392832 NOTICE: Additional mode: 720x480 @ 59.94 - Full Screen
18:51:01 T:4676 M:2134392832 NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
18:51:01 T:4676 M:2134392832 NOTICE: Additional mode: 720x480 @ 75.00 - Full Screen
18:51:01 T:4676 M:2134286336 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2134286336 NOTICE: Additional mode: 720x576 @ 50.00 - Full Screen
18:51:01 T:4676 M:2134269952 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
18:51:01 T:4676 M:2134204416 NOTICE: Additional mode: 800x600 @ 72.00 - Full Screen
18:51:01 T:4676 M:2134220800 NOTICE: Additional mode: 800x600 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133929984 NOTICE: Additional mode: 848x480 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133929984 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133929984 NOTICE: Additional mode: 848x480 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1024x768 @ 70.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1024x768 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1152x648 @ 50.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1152x648 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133843968 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133843968 NOTICE: Additional mode: 1152x864 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1152x864 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x720 @ 50.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x720 @ 59.94 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x900 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x960 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1280x1024 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133794816 NOTICE: Additional mode: 1360x1024 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Previous line repeats 2 times.
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1440x900 @ 75.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1600x1200 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1680x1050 @ 59.94 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1680x1050 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1776x1000 @ 25.00i - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1776x1000 @ 50.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1776x1000 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 59.94 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 24.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 50.00 - Full Screen
18:51:01 T:4676 M:2133782528 NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
18:51:01 T:4676 M:2133917696 NOTICE: load settings...
18:51:01 T:4676 M:2133807104 NOTICE: special://profile/ is mapped to: special://masterprofile/
18:51:01 T:4676 M:2133807104 NOTICE: loading special://masterprofile/guisettings.xml
18:51:01 T:4676 M:2133745664 NOTICE: Getting hardware information now...
18:51:01 T:4676 M:2133745664 NOTICE: Checking resolution 11
18:51:01 T:4676 M:2133745664 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:51:01 T:4676 M:2133733376 NOTICE: Loaded playercorefactory configuration
18:51:01 T:4676 M:2133733376 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
18:51:01 T:4676 M:2133733376 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
18:51:01 T:4676 M:2133729280 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
18:51:01 T:4676 M:2133729280 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<video>
<timeseekforward>30</timeseekforward>
<!-- Time to seek forward in sec - short seek. Defaults to 30. -->
<timeseekbackward>-5</timeseekbackward>
<!-- Time to seek backward in sec - short seek. Defaults to -30. -->
<timeseekforwardbig>30</timeseekforwardbig>
<!-- Time seek forward in sec- long seek. Def 600 (10 min). -->
<timeseekbackwardbig>-5</timeseekbackwardbig>
<!-- Time seek back in sec - long seek. Def to -600 (10 min). -->
<playcountminimumpercent>01</playcountminimumpercent>
</video>
</advancedsettings>
18:51:01 T:4676 M:2133721088 NOTICE: Getting hardware information now...
18:51:01 T:4676 M:2133721088 NOTICE: Checking resolution 11
18:51:01 T:4676 M:2133721088 NOTICE: Default DVD Player: dvdplayer
18:51:01 T:4676 M:2133721088 NOTICE: Default Video Player: dvdplayer
18:51:01 T:4676 M:2133721088 NOTICE: Default Audio Player: paplayer
18:51:01 T:4676 M:2133696512 NOTICE: Loading media sources from special://masterprofile/sources.xml
18:51:02 T:4676 M:2121142272 NOTICE: initializing playlistplayer
18:51:02 T:4676 M:2121142272 NOTICE: DONE initializing playlistplayer
18:51:02 T:4676 M:2110582784 NOTICE: CApplication::UpdateLibraries - Starting video library startup scan
18:51:02 T:4676 M:2110451712 NOTICE: initialize done
18:51:02 T:4676 M:2110451712 NOTICE: Running the application...
18:51:02 T:4676 M:2110435328 NOTICE: ES: Starting event server
18:51:02 T:4492 M:2110427136 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
18:51:02 T:4492 M:2110410752 NOTICE: UDP: Listening on port 9777
18:51:02 T:3188 M:2110304256 NOTICE: VideoInfoScanner: Starting scan ..
18:51:04 T:652 M:2096840704 NOTICE: -->Python Interpreter Initialized<--
18:51:04 T:652 M:2093760512 NOTICE: {'limit': '4'}
18:51:04 T:3188 M:2091769856 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:02
18:51:07 T:4452 M:2089869312 ERROR: WEATHER: Unable to get data: Invalid License Key.
18:51:10 T:4560 M:2090729472 NOTICE: -->Python Interpreter Initialized<--
18:51:10 T:4560 M:2090676224 NOTICE: PLATFORM_NAME=xbmceden
18:51:10 T:4560 M:2090676224 NOTICE: [config.py] xbmceden config 3.2
18:51:10 T:4560 M:2090672128 NOTICE: [config.py] runtime path = C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta
18:51:10 T:4560 M:2090672128 NOTICE: [config.py] data path = C:\Users\Administrador\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.pelisalacarta\
18:51:10 T:4560 M:2090672128 NOTICE: [config.py] temp path = C:\Users\Administrador\AppData\Roaming\XBMC\cache\test
18:51:12 T:4676 M:2085400576 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
18:51:15 T:648 M:2083241984 NOTICE: -->Python Interpreter Initialized<--
18:51:15 T:648 M:2083221504 NOTICE: PLATFORM_NAME=xbmceden
18:51:15 T:648 M:2083221504 NOTICE: [config.py] xbmceden config 3.2
18:51:15 T:648 M:2083221504 NOTICE: [config.py] runtime path = C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta
18:51:15 T:648 M:2083221504 NOTICE: [config.py] data path = C:\Users\Administrador\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.pelisalacarta\
18:51:15 T:648 M:2083221504 NOTICE: [config.py] temp path = C:\Users\Administrador\AppData\Roaming\XBMC\cache\test
18:51:16 T:648 M:2082717696 ERROR: Error Type: exceptions.KeyError
18:51:16 T:648 M:2082713600 ERROR: Error Contents: u'\xf3'
18:51:16 T:648 M:2082533376 ERROR: Traceback (most recent call last):
File "C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta\default.py", line 27, in ?
launcher.run()
File "C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta\platform\xbmc\launcher.py", line 113, in run
exec "channel."+action+"(params, url, category)"
File "<string>", line 1, in ?
File "C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta\pelisalacarta\channels\mcanime.py", line 426, in ddpostdetail
xbmctools.addnewvideo( CHANNELNAME , "addalltodownloadlist" , title , "" , "(Añadir todos los videos a la lista de descarga)" , url , thumbnail , plot )
File "C:\Users\Administrador\AppData\Roaming\XBMC\addons\plugin.video.pelisalacarta\platform\xbmc\xbmctools.py", line 120, in addnewvideo
itemurl = '%s?channel=%s&action=%s&category=%s&title=%s&fulltitle=%s&url=%s&thumbnail=%s&plot=%s&server=%s&Serie=%s&subtitle=%s&show=%s&extradata=%s' % ( sys.argv[ 0 ] , canal , accion , urllib.quote_plus( category ) , urllib.quote_plus( title ) , urllib.quote_plus( fulltitle ) , urllib.quote_plus( url ) , urllib.quote_plus( thumbnail ) , urllib.quote_plus( plot ) , server , Serie , urllib.quote_plus(subtitle), urllib.quote_plus( show ) , urllib.quote_plus(extra) )
File "special://xbmc/system/python/Lib\urllib.py", line 1123, in quote_plus
s = quote(s, safe + ' ')
File "special://xbmc/system/python/Lib\urllib.py", line 1117, in quote
res = map(safe_map.__getitem__, s)
KeyError: u'\xf3'
18:51:16 T:4676 M:2082529280 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.pelisalacarta/?channel=mcanime&action=ddpostdetail&category=mcanime&title=%5BHnoF%5D+Shakugan+no+Shana+III+%28Final%29+5+%2F+%3F%3F+%28hace+23+hrs.+56+mins.%29&fulltitle=%5BHnoF%5D+Shakugan+no+Shana+III+%28Final%29+5+%2F+%3F%3F+%28hace+23+hrs.+56+mins.%29&url=http%3A%2F%2Fwww.mcanime.net%2Ffansubs%2Fheiwai_no_fansub%2Fanime%2Fshakugan_no_shana_iii_final%2F2147%2F10830&thumbnail=http%3A%2F%2Fimages.mcanime.net%2Fimages%2Fanime%2F10830.jpg&plot=%0AContinuaci%C3%B3n+directa+de+la+segunda+temporada+de+Shakugan+no+Shana%2C+nuevos+enemigos+y+nuevas+batallas+les+esperan+a+Sakai+Yuuji+y+Shana.%0A%0A%0A&extradata=&Serie=&show=
18:51:16 T:4676 M:2082529280 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pelisalacarta/?channel=mcanime&action=ddpostdetail&category=mcanime&title=%5BHnoF%5D+Shakugan+no+Shana+III+%28Final%29+5+%2F+%3F%3F+%28hace+23+hrs.+56+mins.%29&fulltitle=%5BHnoF%5D+Shakugan+no+Shana+III+%28Final%29+5+%2F+%3F%3F+%28hace+23+hrs.+56+mins.%29&url=http%3A%2F%2Fwww.mcanime.net%2Ffansubs%2Fheiwai_no_fansub%2Fanime%2Fshakugan_no_shana_iii_final%2F2147%2F10830&thumbnail=http%3A%2F%2Fimages.mcanime.net%2Fimages%2Fanime%2F10830.jpg&plot=%0AContinuaci%C3%B3n+directa+de+la+segunda+temporada+de+Shakugan+no+Shana%2C+nuevos+enemigos+y+nuevas+batallas+les+esperan+a+Sakai+Yuuji+y+Shana.%0A%0A%0A&extradata=&Serie=&show=) failed
18:51:16 T:4676 M:2082422784 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
18:51:22 T:3756 M:2081124352 NOTICE: -->Python Interpreter Initialized<--
18:51:22 T:3756 M:2080980992 NOTICE: {'limit': '4'}
18:51:23 T:4676 M:2080845824 NOTICE: Storing total System Uptime
18:51:23 T:4676 M:2080907264 NOTICE: Saving settings
18:51:23 T:4676 M:2081067008 NOTICE: stop all
18:51:23 T:4676 M:2081067008 NOTICE: ES: Stopping event server
18:51:23 T:4492 M:2081107968 NOTICE: ES: UDP Event server stopped
18:51:23 T:4676 M:2081189888 NOTICE: stop sap announcement listener
18:51:23 T:4676 M:2081189888 NOTICE: clean cached files!
18:51:23 T:4676 M:2081181696 NOTICE: unload skin
18:51:23 T:4676 M:2084802560 NOTICE: stop python
18:51:23 T:4676 M:2105151488 NOTICE: stopped
18:51:23 T:4676 M:2104479744 NOTICE: destroy
18:51:23 T:4676 M:2105282560 NOTICE: unload sections
Una cosa mas, el plugin animeflv no cambia correctamente los nombres al agregar una serie a la blibioteca, cambia la extension a strm pero mantiene el nombre original por lo que la blibioteca no los reconoce.
Muchas gracias.