[REL] DevTools

This channel is no longer maintained, and has been replaced by WebTools



Yep....A release in the Dev foras, but that's where it belongs  :D

 

This is a small bundle, that can assist 3. Party developers, running outside the Plex framework to still access information from the framework

 

Currently return information, that can not be grasped from the http interface, or manipulate the file-system.

 

Need something, then do come with suggestions on what to do, and I'll see what I can do, or even better, fork it, implement it, and create a pull request for it

 

The information/functions it currently provide is the following:

 

https://github.com/ukdtom/DevTools.bundle/wiki

 

 

Download it from github:

 

https://github.com/ukdtom/DevTools.bundle

 

or install it via The Unsupported AppStore

 

Edit: 09. Oct. 2014 Released V0.0.0.8

Edit: 28. Sep. 2014 Released V0.0.0.6

Edit: 28. Sep. 2014 Released V0.0.0.5

Edit: 28. Sep. 2014 Released V0.0.0.4

 

 

Best Regards

 

Tommy

remove the -master from the folder name when you install it.

Released V0.0.0.4:

From the changelog:

V0.0.0.4:
- Added the following:
DelFile(Secret, File)
Call like: http://PMS:32400/utils/devtools?Func=DelFile&Secret=1234&File=/share/MD0_DATA/.qpkg/PlexMediaServer/Library/Plex%20Media%20Server/test.txt
Note: remember to fill out spaces in the filename with %20
 
V0.0.0.3:
- Added the following:
DelOSSrt(Secret, Bundle, SrtFile)
Call like: http://qnap2:32400/utils/devtools?Func=DelOSSrt&Secret=1234&Bundle=1e0f180c5eb1a91a2e8d10e341a3050ceb429449&SrtFile=94e38a0053dadb3c8ae0078c1571054f4fe65f96.srt
 
V0.0.0.2:
- Switched away from using prefs....Note that it's not backwards compatible with V0.0.0.1
- Added the following:
Returns the path to ~Library/Plex Media Server
GetLibPath(Secret)
Call like http://PMS:32400/utils/devtools?Func=GetLibPath&Secret=1234
Returns the contents of an xml file
GetXMLFile(Secret, Path)
Call like http://PMS:32400/utils/devtools?Func=GetXMLFile&Secret=1234&Path=
Return the version of this plugin
GetVersion(Secret)
Call like http://PMS:32400/utils/devtools?Func=GetVersion&Secret=1234
Return the contents of an OpenSubTitle XML file for a bundle
GetOSXml(Secret, Bundle)
Call like http://PMS:32400/utils/devtools?Func=GetOSXml&Secret=1234&Bundle=1e0f180c5eb1a91a2e8d10e341a3050ceb429449
 
NOTE: This release is not backwards compatible with release 0.0.0.1
 
See first post in this thread for download instructions
 
Happy Plexing
 
/Tommy

Released V0.0.0.5:

Changelog:

- Added the following:
PathExists(Secret, Path)
Call like: http://PMS:32400/utils/devtools?Func=PathExists&Secret=1234&Path=/root/Library
 
/Tommy

Released V0.0.0.6

From the changelog:

-Added the following:
ShowSRT(Secret, FileName)
Call like: http://PMS:32400/utils/devtools?Func=ShowSRT&Secret=1234&FileName=/root/Library/Plex%20Media%20Server/Media/localhost/b/4c657e372488b460b64d38d7d78ae7851343eaf.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_ec8dd1a2f67607d603bcbc170e856bbfe53834e6.srt
 
 
Happy Plexing
 
/Tommy

Released V0.0.0.8:

(Version 0.0.0.7 never made it public)

From the changelog:

			V0.0.0.8:
	
			 
		
			- Removed DelSRT function
	
			 
		
			- Added DelSub function
	
			 
		
			<p style="margin-left:40px;">* Initially same function, but now also works for other ext. than srt</p>
		
	
			&nbsp;
		
			<p style="margin-left:40px;">* DelSub(Secret, MediaID, SubFileID)</p>
		
	
			&nbsp;
		
			<p style="margin-left:40px;">* Call like: <a data-ipb='nomediaparse' href='http://PMS:32400/utils/devtools?Func=DelSub&Secret=1234&MediaID=2&SubFileID=109'>http://PMS:32400/utils/devtools?Func=DelSub&Secret=1234&MediaID=2&SubFileID=109</a></p>
		
	
			&nbsp;
		
			- ShowSRT
	
			&nbsp;
		
			<p style="margin-left:40px;">Fixed (Hopefully) error when detecting an non UTF-8 caracter</p>
		
	
			&nbsp;
		
			&nbsp;
	
			&nbsp;
		
			V0.0.0.7:
	
			&nbsp;
		
			- Added the following:
	
			&nbsp;
		
			<p style="margin-left:40px;">DelFile now refuse to delete an srt file</p>

This bundle has ended, and been replaced with WebTools, that has an open API for 3.Party devs

github.com/dagalufh/WebTools.bundle/blob/master/Contents/Code/Docs/webtools-README_DEVS.odt

Thread closed

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.