Questions about DVD-Folder, Coverart and Siftware client

Post Reply
Helios61
Posts: 13
Joined: Fri Feb 05, 2010 7:11 am

Questions about DVD-Folder, Coverart and Siftware client

Post by Helios61 »

Hi community, hi Eugene!

I have a few questions more!

1. Some of my DVD's i have ripped in folder structure to my HD (Video_TS Folder)! My Western Digital live now shows all the folders with Program chains and cells - its a little bit confusing!
Image
Could you please give me a hint, how i have to handle the DVD rips in WMS?

2. In all of my media folders (Music and Video), there is a "folder.jpg" for coverart! Ist it possible, that WMS scans for this "folder.jpg and set it as folder thumbnail?

3. Which Software client is recommendet? I have tried to setup VLC, but it doesn't work!

Best regards

Helios
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Questions about DVD-Folder, Coverart and Siftware client

Post by Eugene »

Hi,
Helios61 wrote: 1. Some of my DVD's i have ripped in folder structure to my HD (Video_TS Folder)! My Western Digital live now shows all the folders with Program chains and cells - its a little bit confusing!
Could you please give me a hint, how i have to handle the DVD rips in WMS?
Devices do not support working with the DVD via DLNA, available only in this form.
Helios61 wrote: 2. In all of my media folders (Music and Video), there is a "folder.jpg" for coverart! Ist it possible, that WMS scans for this "folder.jpg and set it as folder thumbnail?
In future versions
Helios61 wrote: 3. Which Software client is recommendet? I have tried to setup VLC, but it doesn't work!
VLC good client, access through the Internet Exlorer (Web-mode), Internet Exlorer load playlist (asx, pls) and starts VLC. You can also use XBMC.
docbells
Posts: 8
Joined: Tue Jan 26, 2010 8:32 pm

Re: Questions about DVD-Folder, Coverart and Siftware client

Post by docbells »

Eugene wrote:Hi,
Helios61 wrote:
Helios61 wrote: 2. In all of my media folders (Music and Video), there is a "folder.jpg" for coverart! Ist it possible, that WMS scans for this "folder.jpg and set it as folder thumbnail?
In future versions
Helios61 wrote:
I am glad to here this will be possible in future versions - this would be a great help as it is pretty tedious to apply the image to each thumbnail. Looking forward to this feature..
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Questions about DVD-Folder, Coverart and Siftware client

Post by Eugene »

Temporary solution (thumbnail connected until reload the base media resources)

Settings-Processing-Add
Name: Attach Folder.jpg
Click "Button on the main form"
Expression:

Code: Select all

const
  mfVideoWatchFoldersItemID = 'B7A1EE6A-CE07-4E09-B5ED-E51D22BBE743';  
  mfAudioWatchFoldersItemID = '1D45C463-2837-4FC7-ADD1-C21A1BD68C94';  
  mfImageWatchFoldersItemID = '4588975D-B5E2-46DA-A859-07313C715BB1';

procedure ProcessItem(aItem: TWmsScriptMediaItem);
var
  i: Integer;
  sFileName, sFilePath: string; 
begin
  if (aItem <> nil) and aItem.HasChildItems then begin
    if VarToStr(aItem.Properties[mpiThumbnail]) = '' then begin
      sFilePath := aItem.Properties[mpiFilePath];
      if (Pos(':\', sFilePath) > 0) or (Pos('\\', sFilePath) > 0) then begin    
        sFileName := IncludeTrailingBackslash(sFilePath) + 'folder.jpg';
        if FileExists(sFileName) then                 
          aItem.Properties[mpiThumbnail] := sFileName
      end      
    end;
    for i := 0 to aItem.ChildCount - 1 do      
      ProcessItem(aItem.Childitems[i])      
  end
end;

begin
  ProcessItem(WmsFindMediaFolder(mfVideoWatchFoldersItemID));
  ProcessItem(WmsFindMediaFolder(mfAudioWatchFoldersItemID));
  ProcessItem(WmsFindMediaFolder(mfImageWatchFoldersItemID));  
  ProcessMediaResult := True
end.
docbells
Posts: 8
Joined: Tue Jan 26, 2010 8:32 pm

Re: Questions about DVD-Folder, Coverart and Siftware client

Post by docbells »

Thanks for this - will definitely give this a try - a bit nervous about applying it as I have spent a lot of time applying the images to each file and don't want to have to redo it if it doesn't work. I will let you know how it turns out. Do you know if it will overwrite what I have already done?

Another question - I use this with a WDTV live - when I go into the menu I get folder selections for video, music, photos, service, then a folder that has a foreign name - mon komn... that I can navigate my folders in. I was wondering if it was possible to apply thumbnail images to these folders?

Thanks again for your program - I have turned on many others to it so far and they love it...
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Questions about DVD-Folder, Coverart and Siftware client

Post by Eugene »

docbells wrote:Thanks for this - will definitely give this a try - a bit nervous about applying it as I have spent a lot of time applying the images to each file and don't want to have to redo it if it doesn't work. I will let you know how it turns out. Do you know if it will overwrite what I have already done?

Code: Select all

if VarToStr(aItem.Properties[mpiThumbnail]) = '' then begin
Verifies that the thumbnail is not attached. The made this script changes are not saved in the database and therefore it is a temporary solution.
docbells wrote: Another question - I use this with a WDTV live - when I go into the menu I get folder selections for video, music, photos, service, then a folder that has a foreign name - mon komn...
If you did not make changes in the localization program, you can copy a file from default.wln
?:\Program Files\Wild Media Server\DISTR\Languages to ?:\Program Files\Wild Media Server\Languages\
docbells wrote: that I can navigate my folders in. I was wondering if it was possible to apply thumbnail images to these folders?
Temporary solution :), but attachment thumbnails remain. You must change the path to the files.

Code: Select all

const
  mfVideoItemsFolderID = '4B011F97-1151-45B1-A954-76BDFCAE746A';  
  mfAudioItemsFolderID = '0972345A-4255-4ECA-98A1-F326465BA727';
  mfImageItemsFolderID = '8ED989F8-10E9-4B9A-8EAE-E8150BE7A302';    
  mfFileSystemItemsFolderID = 'C64D9FE3-12C6-4283-8C3D-5201908372EB';

procedure ProcessItem2(aItem: TWmsScriptMediaItem; const aFileName: string);
begin
  if (aItem <> nil) and (VarToStr(aItem.Properties[mpiThumbnail]) = '') and
     FileExists(aFileName) then 
    aItem.Properties[mpiThumbnail] := aFileName
end;

begin
  ProcessItem2(WmsFindMediaFolder(mfVideoItemsFolderID), 'C:\Video.jpg');
  ProcessItem2(WmsFindMediaFolder(mfAudioItemsFolderID), 'C:\Audio.jpg');
  ProcessItem2(WmsFindMediaFolder(mfImageItemsFolderID), 'C:\Image.jpg');
  ProcessItem2(WmsFindMediaFolder(mfFileSystemItemsFolderID), 'C:\MyComputer.jpg');  
  WmsDatabaseAutoSave;
  ProcessMediaResult := True
end.
docbells wrote: Thanks again for your program - I have turned on many others to it so far and they love it...
Thanks
Post Reply