Re: Jumpy Plugin (26 February 2016)
Posted: Thu May 26, 2016 2:22 am
Thxsapsa wrote:If you say you need it then ok.

A short text to describe your forum
https://www.universalmediaserver.com/forum/
https://www.universalmediaserver.com/forum/viewtopic.php?t=288
Thxsapsa wrote:If you say you need it then ok.
Adding plugin.video.nakamori to "force_resolve" in gui did resovle ImportErrorinfidel wrote:Thxsapsa wrote:If you say you need it then ok.. I think a workaround for the ImportError may be to add plugin.video.nakamori to the 'force_resolve' list in the gui, see here. Post logs if you still have issues, and I'll update things if I can fix the underlying issue.
Code: Select all
*** setResolvedUrl ***
raw : http://127.0.0.1:8112/videolocal/0/16224/file.avi
name: 0
type: 4
url : http://127.0.0.1:8112/videolocal/0/16224/file.avi
details : {'media': {'duration': '0:00', 'streams': []}}
{'media': {'duration': '0:00', 'streams': []}}
[jumpy] media: container: null, bitrate: 0, size: 0, video codec: null, duration: 00:00:00.00, width: 0, height: 0, frame rate: null, mime type: null, attached fonts: false
[jumpy] Adding web video: 0.
Code: Select all
*** addDirectoryItem ***
[jumpy] Adding folder: True Tears.
**** executebuiltin **** XBMC.Notification(ERROR, Error during addGUIItem, 2000, icon.png)
calling XBMC.Notification('ERROR',' Error during addGUIItem', 2000,' icon.png')
Jumpy-xbmc is mostly a 'great' number of ad-hoc opportunistic hacks, but thx anywaysapsa wrote:Could you help me make better use of my plugin and your great jumpy ?:-)
Btw I think if you simply change nakamori.py: line 2 from 'import os.path' to justsapsa wrote:Adding plugin.video.nakamori to "force_resolve" in gui did resovle ImportError
Code: Select all
import os
HT1 wrote:the install takes a really long time, i mean like over 10 minutes, sometimes over 20 or half an hour.
Hi HT1infidel wrote:stuck at the youtube installer waiting for who knows what for 10minutes this time
You can just download the zip package and unzip it to your plugins folder (and remember to delete the old jumpy-xxx.jar too). This should be sufficient as long as the other pieces were already installed at some earlier time.HT1 wrote:Question: i don't need youtube or anything else than twitch, isn't there a simpler installer just for twitch not all these superfluous things?
Part 2:sapsa wrote:Adding plugin.video.nakamori to "force_resolve" in gui did resovle ImportErrorinfidel wrote:Thxsapsa wrote:If you say you need it then ok.. I think a workaround for the ImportError may be to add plugin.video.nakamori to the 'force_resolve' list in the gui, see here. Post logs if you still have issues, and I'll update things if I can fix the underlying issue.
But now videos are drawn as folders with 2 files inside that are named "0" (probably one item per audio channel) and are 00:00:00 video/mp4, which for the love of god do play fine (without fancy name/seek/duration/info/anything)
from Jumpy log I see this:Am I able to name those files somehow ? or make jumpy support those video files normaly instead of making those 2 files in folder?Code: Select all
*** setResolvedUrl *** raw : http://127.0.0.1:8112/videolocal/0/16224/file.avi name: 0 type: 4 url : http://127.0.0.1:8112/videolocal/0/16224/file.avi details : {'media': {'duration': '0:00', 'streams': []}} {'media': {'duration': '0:00', 'streams': []}} [jumpy] media: container: null, bitrate: 0, size: 0, video codec: null, duration: 00:00:00.00, width: 0, height: 0, frame rate: null, mime type: null, attached fonts: false [jumpy] Adding web video: 0.
Also I notice that jumpy.log have those:Which basically is my error notification popup - which is indicator that there was an error in adding items to list (while those show up in Jumpy)Code: Select all
*** addDirectoryItem *** [jumpy] Adding folder: True Tears. **** executebuiltin **** XBMC.Notification(ERROR, Error during addGUIItem, 2000, icon.png) calling XBMC.Notification('ERROR',' Error during addGUIItem', 2000,' icon.png')
Could you help me make better use of my plugin and your great jumpy ?:-)
PS. Also for some reason android VLC wont play those even after "force" but thats probably UMS problem
Code: Select all
import os
Code: Select all
fsutil 8dot3name query c:
But Jumpy installer tells me that I have it disable (also I have only one drive C:)C:\WINDOWS\system32>fsutil 8dot3name query c:
The volume state is: 0 (8dot3 name creation is enabled).
The registry state is: 0 (Enable 8dot3 name creation on all volumes).
Based on the above two settings, 8dot3 name creation is enabled on c:
Code: Select all
got a play request /play/112
09:36:18 DEBUG Make play page 112
09:36:18 DEBUG Setting web client ua: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
09:36:18 DEBUG Setting Firefox browser info: platform:win64, screen:1680x1050, isTouchDevice:false
09:36:18 TRACE Format "mpegts" failed to match supported line f:flv v:h264|hls a:aac m:video/flash
09:36:18 TRACE Format "mpegts" failed to match supported line f:mp4 m:video/mp4
09:36:18 TRACE Format "mpegts" failed to match supported line f:mp3 n:2 m:audio/mpeg
09:36:18 TRACE Format "mpegts" failed to match supported line f:jpg m:image/jpeg
09:36:18 TRACE Format "mpegts" failed to match supported line f:png m:image/png
09:36:18 TRACE Format "mpegts" failed to match supported line f:gif m:image/gif
09:36:18 TRACE Format "mpegts" failed to match supported line f:tiff m:image/tiff
Code: Select all
09:37:55 DEBUG dumping media video/ogg resolver [id=198, name=Everyone Looks a Little Grown Up After Spring Break, full path=198, ext=WEB, discovered=false]
09:37:55 DEBUG file req /files/download.png
09:37:55 DEBUG Using resource: file:web/download.png
09:37:55 DEBUG key Cookie=[UMS=093432b0-f56f-4c4a-a518-bf165a7b41cc; UMSINFO=platform=Win64&width=1680&height=1050&isTouchDevice=false; pad=PadBlack; view=grid]
09:37:55 DEBUG key Referer=[http://ip:9001/play/198]
09:37:55 DEBUG key Connection=[keep-alive]
09:37:55 DEBUG key Host=[ip:9001]
09:37:55 DEBUG key Dnt=[1]
09:37:55 DEBUG key Range=[bytes=0-]
09:37:55 DEBUG key User-agent=[Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0]
09:37:55 DEBUG key Accept-language=[en-US,en;q=0.5]
09:37:55 TRACE Format "mpegts" failed to match supported line f:flv v:h264|hls a:aac m:video/flash
09:37:55 TRACE Format "mpegts" failed to match supported line f:mp4 m:video/mp4
09:37:55 TRACE Format "mpegts" failed to match supported line f:mp3 n:2 m:audio/mpeg
09:37:55 TRACE Format "mpegts" failed to match supported line f:jpg m:image/jpeg
09:37:55 TRACE Format "mpegts" failed to match supported line f:png m:image/png
09:37:55 TRACE Format "mpegts" failed to match supported line f:gif m:image/gif
09:37:55 TRACE Format "mpegts" failed to match supported line f:tiff m:image/tiff
09:37:55 DEBUG dumping media video/ogg resolver [id=198, name=Everyone Looks a Little Grown Up After Spring Break, full path=198, ext=WEB, discovered=false]
09:38:08 DEBUG Sending ALIVE...
To keep thing sane please refrain from quoting back entire posts, just the relevant part is enoughsapsa wrote:Part 1:
See How to ask for support (at the top of every forum section) for info on how to provide "logs"sapsa wrote:Or I can provide you with "logs" but you have to write me which one and how to obtain them
The point of 'import os' was to get rid of 'force_resolve'sapsa wrote:Only thing that would be great is that when I use force_resolve I end up with "directories" intead of "files"
sapsa wrote:Part 3:
I can answer these better once i see "logs"sapsa wrote:Part 4:
Jumpy's only involvement here is to pass on whatever duration and codec data it receives via the addon's ListItem dict to UMS, but after that UMS decides what specifically happens vis transcoding.sapsa wrote:Part 5:
I understand now why when using 'force' i have 2 folders, that is clear now.infidel wrote:...This eliminates the need for the extra folder but involves some fooling of both the addon and UMS to get it to happen in one motion. Not sure if this explanation helps, but that's the story.
In 'jumpy' documentation there is section about pms/ums.conf that state that xbmc.main.path in config file should point to kodi binary folder. Even with that option present the log file says different path.infidel wrote:and it's not clear to me what you're expecting xbmc.main.path to be.
The main bit of addon foolery is that jumpy can't control playback and has no idea as to playback state (e.g. whether it completed or was partial, etc), so it doesn't pass back any 'real' playback info to the addon. Internally in jumpy-xbmc Player.play() just calls xbmcplugin.setResolvedUrl(), and then just pretends to play the url for one second and then pretends to stop, just to keep the addon code happy (in case it matters to it).sapsa wrote:You mention about 'some fooling' at addon side.
Maybe I'm misunderstanding, but after the 'import os' change nakamori should "once again" be working (at least to the same extent as it ever did before in jumpy). If there are other issues it would help to post "logs" (it's easy, just one button press in the UMS guisapsa wrote:I would like to 'tweak' plugin so jumpy will like it more and use proper data and make this once again work.
Code: Select all
liz.setProperty('TotalTime', str(extraData.get('duration')))
Thx, I know what the docs say (I wrote themsapsa wrote:In 'jumpy' documentation there is section about pms/ums.conf that state that xbmc.main.path in config file should point to kodi binary folder. Even with that option present the log file says different path.