MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Community Skins and Plugins » MediaPortal Plugins


Reply
 
LinkBack Thread Tools Display Modes
Old 2007-03-01, 07:08   #1 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Lightbulb vidUnpacker

I have put together a little utility that helps me preprocess video files before I use them in the MediaPortal.

If you have your videos in multiple archives (rar, zip, ...) and have .nfo file in the same folder that contains a link to IMDB the vidUnpacker can do the following:

1. find out the IMDB url from the .nfo file
2. connect to IMDB to lookup full name of the movie
3. open the IMDB url in a browser
4. create folder that exactly matches IMDB name
5. unpacks all the archives with the movies (with processing multiple CD folders if necessary) and renames teh uznipped movie files to match the IMDB name
6. finds the subtitle folder if present and unpacks them with correct names
7. moves the source files into recycle bin

run vidUnpacker.exe -? for full list of options

you can for example create a shortcut that would execute

"vidUnpacker.exe -p c:\movies -s"

and double clicking on the shortcut would unpack all your videos in the movies folder

It is something that might be useful as a MP plugin (or included in existing MP modules). If anybody wants to pick it up I can publish teh source code (c#).

Let me know if you have any suggestions.

s.
stanoislav is offline   Reply With Quote
These User Thank You:
Old 2007-03-01, 14:48   #2 (permalink)
Retired Team Member
 
mzemina's Avatar
 
Join Date: Feb 2005
Location: Tulsa, OK
Posts: 2,064
Thanks: 43
Thanked 13 Times in 13 Posts

Country:


Default

Yes - Please, please supply the source code. It can be helpful in many areas!!
__________________
Boris: Hey, Natasha, you never gonna believe who's in there!
Natasha: Is Peabody and Sherman?
Boris: Silly girl! Is moose and squirrel.
mzemina is offline   Reply With Quote
Old 2007-03-01, 14:58   #3 (permalink)
Portal Member
 
Join Date: Feb 2005
Location: Wageningen
Age: 34
Posts: 341
Thanks: 7
Thanked 0 Times in 0 Posts

Country:

My System

Smile

For example, .rar as movie extension. Once clicked, on-the-fly unrar to a temp folder, play movie and clean up movie when stopped/any other suitable moment. Could be a process plugin, invisible in the GUI.

(this is just "my usercase", as a suggestion how users approach this, don't know if it is in any way actually feasible.
__________________
Click the image to open in full size.
onkl is offline   Reply With Quote
Old 2007-03-01, 16:43   #4 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Thumbs up vidUnpacker source

free to use / modify ...

let me know if you have any questions
stanoislav is offline   Reply With Quote
Old 2007-03-01, 17:55   #5 (permalink)
Super Moderator
 
Spragleknas's Avatar
 
Join Date: Dec 2005
Posts: 6,348
Thanks: 650
Thanked 330 Times in 265 Posts

Country:

My System

Default

Exellent!

How about an option for (8.) delete .zip/.rar file after unpacking?
Spragleknas is offline   Reply With Quote
Old 2007-03-02, 01:15   #6 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default

I think point # 7. is what you are after. It deletes the original rar / zip files into the recycle bin.
stanoislav is offline   Reply With Quote
Old 2007-04-03, 18:50   #7 (permalink)
Portal Member
 
Join Date: Apr 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post


Send a message via ICQ to bedlam
Default

wow. this really is something that would be awesome if implemented as a process plugin...
bedlam is offline   Reply With Quote
Old 2007-06-16, 21:04   #8 (permalink)
MP Donator
 
piranha's Avatar
 
Join Date: Sep 2005
Posts: 370
Thanks: 21
Thanked 10 Times in 10 Posts

My System

Default

This is great!
__________________
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
piranha is offline   Reply With Quote
Reply

Bookmarks

Tags
vidunpacker

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:55.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden