Wildcard / Joker
Posted: Thu Oct 27, 2011 12:50 pm
Hello Eugene,
i have three questions.
Iam using a single PC ( as a Server) connected with a PS3.
1)
is it possible to create a directory, in wich only files ( specially Movies)
are shown, wich include in their filename ...1080 ore 720?
Can i use a joker, like for example *1080.mkv files?
With these Filenames i am able to make a differenc between "normal" Scaled Mowies and
BR / MKV Movies.
2)
I used your script
"var
i: Integer;
AllMoviesFolder: TWmsScriptMediaItem;
begin
AllMoviesFolder := WmsFindMediaFolder(mfVideoAllMoviesItemID);
if AllMoviesFolder <> nil then
for i := 0 to AllMoviesFolder.ChildCount - 1 do
if Date - GetFileDate(AllMoviesFolder.ChildItems.Properties[mpiMediaResourceSource]) <= 30 then
WmsDatabaseAddLink(FolderItem.ItemID, '', AllMoviesFolder.ChildItems)
end."
It is working fine, but it shows me the directly the files and not ( as i would prefer) the Folders.
Is it possible to show me there the Folders/ Subfolders?
If i have many new files in a subfolder( for example vob Files of a movies)
each file will be shown in this List.
It would be better, if there will be shown a folder, example "MyChilds in Action" and i can enter the Subfolder to start the single
vob files.
This problem has happened too, when i had a Subfolder from a TV Serie including 20 generated AVI Files.
The List of the "Last 30 Days, was full of these Files and too long.
3)
Is there any Chance to search for a File, or an Actor with the PS3?
Maybe with Jokers ( Example: *Ford or *Tom ) generating a List ( Subfolders) of all Hits
Thanks for your enjoyment and your grest Server
Greetings
RDibsi
i have three questions.
Iam using a single PC ( as a Server) connected with a PS3.
1)
is it possible to create a directory, in wich only files ( specially Movies)
are shown, wich include in their filename ...1080 ore 720?
Can i use a joker, like for example *1080.mkv files?
With these Filenames i am able to make a differenc between "normal" Scaled Mowies and
BR / MKV Movies.
2)
I used your script
"var
i: Integer;
AllMoviesFolder: TWmsScriptMediaItem;
begin
AllMoviesFolder := WmsFindMediaFolder(mfVideoAllMoviesItemID);
if AllMoviesFolder <> nil then
for i := 0 to AllMoviesFolder.ChildCount - 1 do
if Date - GetFileDate(AllMoviesFolder.ChildItems.Properties[mpiMediaResourceSource]) <= 30 then
WmsDatabaseAddLink(FolderItem.ItemID, '', AllMoviesFolder.ChildItems)
end."
It is working fine, but it shows me the directly the files and not ( as i would prefer) the Folders.
Is it possible to show me there the Folders/ Subfolders?
If i have many new files in a subfolder( for example vob Files of a movies)
each file will be shown in this List.
It would be better, if there will be shown a folder, example "MyChilds in Action" and i can enter the Subfolder to start the single
vob files.
This problem has happened too, when i had a Subfolder from a TV Serie including 20 generated AVI Files.
The List of the "Last 30 Days, was full of these Files and too long.
3)
Is there any Chance to search for a File, or an Actor with the PS3?
Maybe with Jokers ( Example: *Ford or *Tom ) generating a List ( Subfolders) of all Hits
Thanks for your enjoyment and your grest Server
Greetings
RDibsi