Welcome to Media Center Master!
A powerful solution for mastering your digital media library.
Supporting Emby, Kodi/XBMC/OSMC, Plex, Windows Media Center, and more!

Home Download Gallery Wiki Issue Tracker Licensing Forums

   FAQ  •  Search •  Login •  Register     
It is currently November 16th, 2018, 3:58 pm

All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Help Configuring MCM & StarkCovers
PostPosted: June 8th, 2011, 8:37 am 
Offline
Flash Video

Joined: June 8th, 2011, 7:27 am
Posts: 12
I'm hoping someone can help me configure Media Center Master and StarkCovers.
The way I am wanting to configure it may not be currently possible.

Here is my current configuration:
StarkCovers located C:\StarkCovers 10.28.2009\
I have 2 batch files, StarkCovers Movies.bat and StarkCovers TV Series.bat

This is my MCM configuration:
Image

The StarkCovers TV Series.bat is working great.
My problem is with the StarkCovers Movies.bat, the following is the contents of this batch file:
Code:
@ECHO OFF
C:
CD\StarkCovers 10.28.2009

ECHO ON
START "" /WAIT /I /SEPARATE StarkCovers.exe %1 case\dvd


The batch is working as "expected" however I need it to be able to assign different covers depending on which folder the movie is in.

This is the folder structure of my library:

F:\Movies\DVD <---Want to assign a DVD cover to movies in this folder
F:\Movies\HD <---Want to assign a BD cover to movies in this folder
F:\Movies\TV Series

My entire library has been re-encoded in h264 using handbrake and stored in MKV container so identifying the video by codec is not an option.
Is what I am trying to do possible using the parameters/arguments in MCM or do I need to just have MCM call on the batch file only and have the batch file scan every folder each time the batch is called?


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers  [SOLVED]
PostPosted: June 8th, 2011, 9:55 am 
Offline
Developer/Owner
User avatar

Joined: May 1st, 2009, 10:12 am
Posts: 11539
Location: Meridian, ID, USA
You may need to employ more advanced batch file techniques such as partial string comparisons -- or -- make use of script hosts, such as .VBS files. Or you could just write yourself a quickie program in another language that performs that task (depending on your familiarity with software programming).

_________________
Peter Souza IV
stable version 2.18.13818.935 / May 18th, 2018
Media Center Master on Facebook!


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers
PostPosted: June 8th, 2011, 10:30 am 
Offline
Flash Video

Joined: June 8th, 2011, 7:27 am
Posts: 12
Thanks for your response Pete.
I was afraid that would be the case.
I don't have any knowledge when it comes to programming, creating a simple batch is hard enough for me lol.

Basically what I have been previously doing is having MCM call upon the batch without any parameters/arguments and just letting the batch file check every folder each time it is called upon.
This is the contents of the batch that gets the job done:

Code:
@ECHO OFF
C:
CD\StarkCovers 10.28.2009

ECHO ON
START "" /WAIT /I /SEPARATE StarkCovers.exe "F:\Movies\DVD" case\dvd
START "" /WAIT /I /SEPARATE StarkCovers.exe "F:\Movies\HD" case\bd


I was just looking for a more streamlined process so it wouldn't have to check the entire contents of each folder every time the batch is called.

If anyone happens to already have a more complex batch for something like this I would be interested in seeing how you have it configured.


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers
PostPosted: June 8th, 2011, 12:00 pm 
Offline
High-Def MKV

Joined: November 24th, 2010, 9:31 pm
Posts: 195
Location: Lima, OH
Is this something you could write separate batch files for and run them automatically using task scheduler? I'm not using stark covers (ie I'm lazy) but it seems like you could schedule it automatically then not have to worry about it.

_________________
OmniOS based SAS
Duel E5 clustered ESXi farm (32 cores 128Gb ram)


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers
PostPosted: June 8th, 2011, 1:45 pm 
Offline
Flash Video

Joined: June 8th, 2011, 7:27 am
Posts: 12
I don't think a separate batch file would help.
What I think is needed is the code of the batch file needs to inspect the path that MCM hands to it and if the path contains F:\Movies\DVD then the batch would need to know to use a DVD cover or if the path contains Movies\HD then use a BD cover.
I just don't know what the commands would be for such detection.


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers
PostPosted: June 8th, 2011, 2:22 pm 
Offline
High-Def MKV

Joined: November 24th, 2010, 9:31 pm
Posts: 195
Location: Lima, OH
separate batch file for each. But from what I've seen there are alot of commands that you can add to the stark covers batch file, and then they can all be combined? Give me a bit, still at work and want to look into this further.

_________________
OmniOS based SAS
Duel E5 clustered ESXi farm (32 cores 128Gb ram)


 Profile  
 Post subject: Re: Help Configuring MCM & StarkCovers
PostPosted: January 24th, 2018, 5:50 pm 
Offline
Downloaded Clip

Joined: March 7th, 2013, 12:47 pm
Posts: 4
I know this is an old thread but I will contribute anyway for others looking for a solution to create different covers for different media/locations. Mine does just that. Here is my bat file:

@echo off
REM StarkCovers 10.28.2009.0, Copyright 2009 Tyborg, All rights reserved.

REM if you would like a list of commands run StarkCovers.exe /?
REM otherwise I recommend getting your commandline from the GUI

REM
"C:\Program Files\MediaBrowser\StarkCovers.10.28.2009\StarkCovers.exe" "C:\Blu-Ray Movies" 3d2\bd
"C:\Program Files\MediaBrowser\StarkCovers.10.28.2009\StarkCovers.exe" "C:\DVD Movies" 3d2\dvd
"C:\Program Files\MediaBrowser\StarkCovers.10.28.2009\StarkCovers.exe" "C:/DivX Movies" 3d2\divx
"C:\Program Files\MediaBrowser\StarkCovers.10.28.2009\StarkCovers.exe" "C:/QuickTime Movies" 3d2\mov
"C:\Program Files\MediaBrowser\StarkCovers.10.28.2009\StarkCovers.exe" "C:\HD Movies" 3d2\h264


 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group



Copyright © 2009-2018, Media Center Master, Inc. All rights reserved.