MediaPortal Forums HTPC/MediaCenter

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


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2004-10-30, 22:13   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default Setting page count ?

I am creating a new plugin for MP - a DVD catalog....I am new to creating plugins, but I think I am making reasonably good progress.

My problem - when I display the list of DVDs the total count (set by #itemcount) is displayed correctly - but the page count is all messed up - looks like something is overlaying the 'page number / total pages' area on the screen - I get one set of values on top of another set....

I cannot find any place in the XML definitions to control this information....

So, my questions are:

1. How is the page number and total pages calculated?
2. Which routine controls the placement of these values and display of these values?

Any suggestions??
  Reply With Quote
Old 2004-10-31, 00:10   #2 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

1 thing,

We can allready catalog dvd's and movies??

So what will be different in your plugin ?

If it's something you don't like you should make a patch for our current way we do it. Not a new plugin I think ?
__________________
MrMario64 is offline   Reply With Quote
Old 2004-10-31, 13:39   #3 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Never mind - I solved my problem - I had both List and Thumb controls active at the same time.

I have over 200 DVDs that are stored in a Sony mega changer and I have cataloged them using Ant Movie Catalog - I have created an extract that I then import into MP - it serves my purposes - if you are not interested then I just will not even attempt to post it here when I am done.
  Reply With Quote
Old 2004-10-31, 20:40   #4 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

it's not that I'm not interested,

I was just curious on what you were making as the desciption sounded exactly as what I am using allready in MP.

and my opinion alone is not important.
We have 15000 downloads of MP.
I'm sure you would help others.
__________________
MrMario64 is offline   Reply With Quote
Old 2004-11-03, 14:27   #5 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

OK/understand.

I have finished the plugin - I called it 'My DVDs' - it was a good experiment for me to learn the code structure of MP and to set up the development environment.

I am now thinking of a slightly different plugin - based on 'My DVDs', but a stripped down version that reads the Ant Movie Catalog file and loads it into the videodatabase.db file. That way I don't have to recreate the catalog and the data is available for the existing MP My Video routines.

Just a thought.....
  Reply With Quote
Old 2004-11-03, 15:32   #6 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

that sounds good.

I think it is indeed better to integrate more stuff directly instead of all seperate plugins.
So putting this data directly in our database sounds like the way to go.
__________________
MrMario64 is offline   Reply With Quote
Old 2004-11-03, 16:43   #7 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

OK.
I will work on this modified version this weekend - if successful I could also expand the concept to other formats such as DVD Profiler - might satisfy a few more potential MP users :wink:
  Reply With Quote
Old 2004-11-05, 22:40   #8 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

OK, I have the plugin created - it takes the Ant Movie Catalog output and populates the videodatabase2.db file.

When I select "Title" as the View type I see the entries I added.
However, when I press "F3" to see the details, MP automatically tries to go out to IMDB to retrieve the information associated with the movie Title.

I am not sure what I am missing, but I would think MP should check the contents of the videodatabase first and if it cannot find the information it should only then go out to the web....I have reviewed the GUIVideoTitle and GUIVideoFiles routines but cannot tell what the logic is that is always causing MP to go to the web - it looks like it should take the db information first, but it does not.....

I am wondering if I have not populated all the fields correctly in the videodatabase file.....
  Reply With Quote
Old 2004-12-22, 12:13   #9 (permalink)
ravy37170
Guest
 
Posts: n/a


Default

Quote:
Originally Posted by MrMario64
1 thing,

We can allready catalog dvd's and movies??

So what will be different in your plugin ?

If it's something you don't like you should make a patch for our current way we do it. Not a new plugin I think ?
Hello,

I don't understand what you tell us because I don't find a tool in MP that can catalog all of ours DVDs, DIVXs or audio CDs. What we can do with the actual MP is if we have movies on the hard drive than by pressing F3, it will gives informations about the movie with the IMDB.

Perhaps I miss something in MP, no??
  Reply With Quote
Old 2004-12-22, 12:19   #10 (permalink)
Retired Team Member
 
Join Date: Apr 2004
Age: 34
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

yep,
And when the file is not on a local share anymore, or you did teh F3 on a dvd or file on a disc you can also enter a DVD# @ the bottom.

Now you can browse the database for this movie and when you select it MP will tell you what disc to enter.
__________________
MrMario64 is offline   Reply With Quote
Reply

Bookmarks

Tags
count, page, setting

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Develop my own Grabber DKreeK WebEPG 21 2007-07-03 02:16
WebEPG crash with 0.2+svn tomtom21000 WebEPG 14 2006-07-20 19:10
Mini EPG initially always thinks it is on 1st page hansdegit Fixed 0.2 RC4 Bugs 4 2006-06-05 01:09
Jumbled home page with full screen on secondary monitor? gdirwin General Support 3 2006-03-16 17:16
main page global news next page failure FlipGer Website/Forum/Wiki Feedback 1 2006-02-03 12:55


All times are GMT +1. The time now is 05:46.


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