Jump to content


Photo

Wanna try a new plugin? Decompression

plugin

  • Please log in to reply
3 replies to this topic

#1 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4551 posts
  • Local time: 01:35 PM
  • LocationPeterborough, Canada

Posted 14 July 2015 - 10:08 PM

Hi,

 

I saw somewhere on the community tracker a request for a plugin which decompresses compressed files.

 

I don't know exactly why it's needed.. :huh: ...

 

and if the lead Developers ask me to cease the further development of such a plugin I will gladly  :P

 

I think the bottom line is that it may not necessarily be something that will find it's way into the catalog, but I'll post it here in case you find it useful. :ph34r:

 

Pretty much I built my Auto-Organizer Helper app into an emby plugin.

 

Same basic outline:

 

Tell it where you are keeping said compressed files, and where you want them to go after they are decompressed.

 

I have put together a simple folder monitor, to make it automated. How exciting!

 

 

Note: This doesn't Auto-Organize your files into your library, it just decompresses them and moves them into your Auto-Organize Folder.

 

 

What I will add in future versions for sure:

1. Trigger Auto-Organize Task after success decompression of files into Auto-Organize Folder.

 

What I would like to add:

2. I'd like to move physical Files around drives eventually. When a drive is getting full... be able to move entire TV Series into a more suitable drive location.

3. Perhaps.... Maybe... Sort Movies

 

I think it works pretty well. I just finished it, and it isn't test to perfection  :lol: .

Let me know if you want certain abilities added or whatever.

 

 

https://dl.dropboxusercontent.com/u/46151346/Advanced%20Organize/SampleProject/bin/Debug/AdvancedFileSystemOrganizer.rar

 

 


  • Luke, aspdend and FrostByte like this

#2 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4551 posts
  • Local time: 01:35 PM
  • LocationPeterborough, Canada

Posted 15 July 2015 - 09:05 AM

Hi @Luke or @ebr

 

I'm interested in triggering the Auto-Organize Task in my Sub routine....

 

 

It would seem that all the Properties for each Task is read-only.

 

This would lead me to believe that I have to Enumerate the List of Tasks and then choose the Auto-Organize Task and Execute it.

 

Does that sound proper to you?


Edited by chef, 15 July 2015 - 09:51 AM.


#3 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50726 posts
  • Local time: 01:35 PM

Posted 15 July 2015 - 10:04 AM

Probably since it isn't your task and there is no published method to kick it off.

 

I'm not sure exactly how you could reliably identify it though...



#4 chef OFFLINE  

chef

    Advanced Member

  • Developers
  • 4551 posts
  • Local time: 01:35 PM
  • LocationPeterborough, Canada

Posted 15 July 2015 - 02:32 PM

I think I'll end up letting the auto organize task run independently and forget about starting it. Seems to be working alright that way.





Also tagged with one or more of these keywords: plugin

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users