PDA

View Full Version : Genre in DVD list



sonata31
November 18th, 2008, 08:56 AM
When I write :


videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='',count= DVDCount, useGP=1 };
videoLibrary:GoScheme(NetRemote.GetVariable('MP.Ge nresRoot'));

I get the list of the genre of audio albums ????

Rob H
November 19th, 2008, 08:09 AM
What's the value of MP.GenresRoot?

sonata31
November 19th, 2008, 08:23 AM
What's the value of MP.GenresRoot?

MP.GenresRoot = "Media Library\Genres"

sonata31
November 20th, 2008, 09:53 AM
MP.GenresRoot = "Media Library\Genres"

Help for a solution ?

Rob H
November 20th, 2008, 10:02 AM
What is the view scheme Media Library\Genres? Is it audio or video? Do you have a view scheme for videos?

sonata31
November 20th, 2008, 11:10 AM
What is the view scheme Media Library\Genres? Is it audio or video? Do you have a view scheme for videos?

My code :



-- Pour afficher la liste des DVD
videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='',count= DVDCount, useGP=1 };

...

videoLibrary:GoScheme("DVDs");

Rob H
November 20th, 2008, 11:58 AM
I'm a bit confused, does that mean it's now working for you?

sonata31
November 20th, 2008, 12:51 PM
I'm a bit confused, does that mean it's now working for you?

No, it's my problem

Rob H
November 20th, 2008, 12:56 PM
So, do you have a view scheme called DVDs? And what is its parent?

I suspect you need to specify the rootScheme parameter when you create the GAC - I think that should be the parent of the DVDs scheme.

sonata31
November 20th, 2008, 01:45 PM
So, do you have a view scheme called DVDs? And what is its parent?

I suspect you need to specify the rootScheme parameter when you create the GAC - I think that should be the parent of the DVDs scheme.

How specify the parent ?

Rob H
November 20th, 2008, 02:17 PM
Suppose the parent of the DVDs scheme as shown in JRMC is Video (am I right in thinking you're using JRMC?) then when you create the GAC you'd add a parameter


rootScheme = "Video",

sonata31
November 20th, 2008, 04:19 PM
Suppose the parent of the DVDs scheme as shown in JRMC is Video (am I right in thinking you're using JRMC?) then when you create the GAC you'd add a parameter


rootScheme = "Video",

I use Winamp for audio and Zoomplayer for video, no JRMC

Rob H
November 20th, 2008, 04:38 PM
I guess you could try


rootScheme = "Media Library\\DVDs"

but I've no idea if it would work.

sonata31
November 21st, 2008, 06:59 AM
I guess you could try


rootScheme = "Media Library\\DVDs"

but I've no idea if it would work.

It's always the audio genre displayed

sonata31
November 21st, 2008, 07:13 AM
With new-pro ccf the media list (cf attached thumbails)
There is no sub-item "Genres" in DVDs

sonata31
November 24th, 2008, 04:36 AM
With new-pro ccf the media list (cf attached thumbails)
There is no sub-item "Genres" in DVDs

Is there a solution ?

Rob H
November 24th, 2008, 05:33 AM
Not yet - are these video files from DVDProfiler then?

sonata31
November 24th, 2008, 06:19 AM
Not yet - are these video files from DVDProfiler then?

Yes, file collection.xml, setup in Mediabridge

Rob H
November 24th, 2008, 12:51 PM
Okay, I'll try to take a look at this tomorrow

sonata31
November 25th, 2008, 12:55 AM
Okay, I'll try to take a look at this tomorrow

Okay, and Thank You

sonata31
January 21st, 2009, 02:45 AM
Okay, and Thank You

Have you a solution for this problem ?

Rob H
January 21st, 2009, 07:41 AM
Not yet no, I'm afraid this is fairly far down the list at present. I am due to look at Mediabridge issues again shortly though, so I'll try to fit this in.

sonata31
January 21st, 2009, 11:51 AM
Not yet no, I'm afraid this is fairly far down the list at present. I am due to look at Mediabridge issues again shortly though, so I'll try to fit this in.

I hope a solution for this problem, because with a list of 1500 dvd, the genre is a help

Rob H
January 28th, 2009, 10:22 AM
As far as I can tell you need to specify the scheme as DVDs and add Genre to the Fields list when creating the GAC in the first place. However, that will only give you the genre of the DVDs, not allow you to sort on it. I'll see what I can dig up otherwise.

sonata31
January 29th, 2009, 03:25 AM
As far as I can tell you need to specify the scheme as DVDs and add Genre to the Fields list when creating the GAC in the first place. However, that will only give you the genre of the DVDs, not allow you to sort on it. I'll see what I can dig up otherwise.

Something as it?



local DVDCount = 11;

videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='',count= DVDCount, useGP=1 };
videoLibrary:SetFields("Genre");

Rob H
January 29th, 2009, 04:16 AM
That would work, but it's better to create the GAC as follows


videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='Genre',count= DVDCount, useGP=1 }
videoLibrary:SetScheme("DVDs")

sonata31
January 29th, 2009, 06:45 AM
That would work, but it's better to create the GAC as follows


videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='Genre',count= DVDCount, useGP=1 }
videoLibrary:SetScheme("DVDs")

Ok, I test this, Thank You

sonata31
January 29th, 2009, 07:20 AM
Ok, I test this, Thank You

It's not ok, this display then Genre of audio albums, not the Genre of movies

Rob H
January 29th, 2009, 10:12 AM
Sounds like you didn't set the scheme to 'DVDs'

sonata31
January 29th, 2009, 11:51 AM
Sounds like you didn't set the scheme to 'DVDs'

No, here is my code :



videoLibrary = GAC:new{var='videoLibrary',includeSubItemCount=0,i mageSize='M',fields='Genre',count= DVDCount, useGP=1 };
videoLibrary:SetScheme("DVDs");

-- Affiche la liste des films par ordre alphabétique
function DisplayMoviesList()
-- Indique un affichage par film
NetRemote.SetVariable('MP.MoviesListe', '1');
-- On se positionne à la racine
videoLibrary:GoScheme("DVDs");
end;

-- Affiche la liste des films par genre
function DisplayGenreMoviesList()
-- Indique un affichage par genre
NetRemote.SetVariable('MP.MoviesListe', '2');
videoLibrary:SetRootScheme("DVDs");
videoLibrary:GoScheme(NetRemote.GetVariable('MP.Ge nresRoot'));
end;

Rob H
January 29th, 2009, 11:58 AM
That definitely won't work. However, the current DVDs root scheme doesn't support ordering by Genres - that will have to wait until I can figure out how to implement it.

sonata31
January 29th, 2009, 01:41 PM
That definitely won't work. However, the current DVDs root scheme doesn't support ordering by Genres - that will have to wait until I can figure out how to implement it.

I am very sad to learn it !

sonata31
April 2nd, 2009, 06:48 AM
I am very sad to learn it !

Always no possibility for this problem?

Rob H
April 2nd, 2009, 08:27 AM
A major reworking of the DVD and file support is scheduled, but I don't have a timescale for it yet.