File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3434 MYJDUnknownException ,
3535)
3636
37- __version__ = "1.1.1 "
37+ __version__ = "1.1.2 "
Original file line number Diff line number Diff line change @@ -464,12 +464,14 @@ def get_package_count(self):
464464 """
465465 pass
466466
467- def rename_package (self ):
467+ def rename_package (self , package_id , new_name ):
468468 """
469- No idea what parameters i have to pass and/or i don't know what it does.
470- If i find out i will implement it :P
469+ Rename package name with package_id
471470 """
472- pass
471+ params = [package_id , new_name ]
472+ resp = self .device .action (self .url + "/renamePackage" , params )
473+ return resp
474+
473475
474476 def query_packages (self ,
475477 params = [{
Original file line number Diff line number Diff line change 1111 long_description = f .read ()
1212setup (
1313 name = 'myjdapi' ,
14- version = '1.1.1 ' ,
14+ version = '1.1.2 ' ,
1515 description = 'Library to use My.Jdownloader API in an easy way.' ,
1616 long_description = long_description ,
1717 url = 'https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/' ,
You can’t perform that action at this time.
0 commit comments