Jumpy Plugin (26 October 2016)

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by infidel »

nickhere wrote:enhance it. Like adding auto downloading from the repository and installing the add on + add on checking to see if the base site is ok.
Thanks for checking it out :). I'm surprised the code (esp the python xbmc stuff) is readable, since a lot of it is written inconsistently and not that user-friendly. When I started I thought of "supporting" addon installation like you intend, but couldn't find a good reason not to just let xbmc handle it for me. But I can see the point (sort of, see below) if you just want to have a mini standalone setup sans xbmc. There's another possible strategy for doing this, which is to install/maintain xbmc on pc and then just mirror a copy of the .xbmc user folders on your actual device (either by hand or using something like rsync).
nickhere wrote:On a side note i recently purchase a pogoplug... It might be possible to run UMS on certain models
It's not likely to work, java is very cpu-hungry. I have a raspberry pi and it doesn't have enough juice for usable java, but who knows?
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

There's another possible strategy for doing this, which is to install/maintain xbmc on pc and then just mirror a copy of the .xbmc user folders on your actual device (either by hand or using something like rsync).


I thought of that 2
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

It's not likely to work, java is very cpu-hungry. I have a raspberry pi and it doesn't have enough juice for usable java, but who knows?[/quote]
the pro plug is a dual core arm at 279.34 mhz

http://support.pogoplug.com/hc/en-us/ar ... ug-device-
the idea one would be the Pogoplug v2 (No Longer in Production) but still on sale for 8.00 to 20.00 1.2mhz

whats the speed of the pi
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

nickhere wrote:It's not likely to work, java is very cpu-hungry. I have a raspberry pi and it doesn't have enough juice for usable java, but who knows?
I guess you need to optimize ums and jumpy java code
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

can you get the tub tub channel to work?
also
Any python tutorial and java channels
Thank nick
I keep looking for ways to turn parts of ums to x86 assmbly
Attachments
ums_dbg.zip
(43.81 KiB) Downloaded 440 times
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by infidel »

nickhere wrote:can you get the tub tub channel to work?
Will take a look :).
nickhere wrote:also
Any python tutorial and java channels
Thank nick
I keep looking for ways to turn parts of ums to x86 assmbly
I'm afraid this part is a bit too cryptic for my feeble brain (not unlike x86 assembly in that respect ;)). Could you please elaborate?
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by infidel »

nickhere wrote:can you get the tub tub channel to work?
Adding the patch below at jumpy/xbmc/xbmcplugin.py:287 fixes it for me:

Code: Select all

	elif url.startswith('stack://'):
		ct = 0
		for url in url[8:].split(' , '):
			listitem.setProperty('path', url.replace(',,', ','))
			setResolvedUrl(handle, succeeded, listitem, ct)
			ct += 1
		return

	# ------------ patch ------------
	elif url.endswith('.asf'):
		url = url.replace('http://', 'mms://')
	#--------------------------------

	mediatype, name, thumb, mediainfo = resolve(url, listitem)
	name = name + "" if stack < 1 else " %d" % stack
Unsure as yet whether to make it official or not :).

EDIT: here's the full file, copy/paste from code box will likely cause indentation errors:
xbmc-asf-fix.zip
unzip to plugins/jumpy
(3.83 KiB) Downloaded 447 times
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

elif url.endswith('.asf'):
url = url.replace('http://', 'mms://')

works for me to

now you upload the fix
i did the cut and paste
and fixed the indent

What ide are you using for python and can you point me to a good tutorial.
I been programming in assembly and have to learn the nuance of python and java
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by infidel »

nickhere wrote:What ide are you using for python and can you point me to a good tutorial.
I been programming in assembly and have to learn the nuance of python and java
I'm just using command line + a plain text editor (gedit, or when in windows Notepad++) for both python and java. This is all you really need for python, for java most people use Eclipse as IDE. Dive Into Python is a good starting reference, plus python has an interactive shell which is quite handy for learning by trying. For java I end up reading javadocs, oracle tutorials, and searching stackoverflow. If you're familiar with c/c++ then it's a short step to java. The main 'nuance' of java/python vs assembly/c/c++ is that (other than basic data types) everything is an instance of a fundamental predefined 'object', and all objects are accessed by reference, there's no such thing as a pointer.
nickhere
Posts: 138
Joined: Sat Jan 03, 2015 3:28 am

Re: Jumpy Plugin (6 March 2015 - Kodi update)

Post by nickhere »

everything is an instance of a fundamental predefined 'object', and all objects are accessed by reference, there's no such thing as a pointer.
that i notice so many object
Post Reply