Author Topic: [SOLVED] Position of "Duration" field  (Read 11186 times)

0 Members and 1 Guest are viewing this topic.

Offline Ally

  • Member
  • *
  • Posts: 8
    • View Profile
[SOLVED] Position of "Duration" field
« on: August 27, 2010, 06:55:05 pm »
Hi Folks,

I am using PVD 0.9.9.21 with the PVD Classic Skin.  I like to keep everything simple and for this I wanted to make two changes in the appearance of the Movie Information screen:

(1)  I want to change the position of the "Duration:" field to appear just below the "Date Added:" field, instead of it appearing in a box beneath the "Description" field.

(2)  I want to remove the links to the Actors since I am not downloading any information on the Actors.

Could you please let me know if both of these are possible to do?

Many thanks in advance for your help.
« Last Edit: September 22, 2010, 12:48:25 am by rick.ca »

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Position of "Duration" field
« Reply #1 on: August 27, 2010, 07:15:41 pm »
With PVD everything is possible :)

Quote
(1)  I want to change the position of the "Duration:" field to appear just below the "Date Added:" field, instead of it appearing in a box beneath the "Description" field.

Just find the code for duration field and move it where you need it to be.

Quote
(2)  I want to remove the links to the Actors since I am not downloading any information on the Actors.

Code: [Select]
<linkdefs>
<underline_record>false</underline_record>
</linkdefs>

Skin Engine Manual is available here: http://www.videodb.info/help/hlp_skins.html
Gentlemen, you can’t fight in here! This is the War Room!

Offline Ally

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Position of "Duration" field
« Reply #2 on: August 27, 2010, 07:30:38 pm »
That's so cool, I really like that...Marvellous!!

My apologies, Nostra, but I have no idea where to find the code for duration field in order to move it  ???

Would you help, please? Or perhaps point me to where I can get the information?

Many thanks.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Position of "Duration" field
« Reply #3 on: August 27, 2010, 07:50:51 pm »
You need to find this code:
Code: [Select]
<row>
   <column width="120" halign="right">
        <fieldlabel field="length"/>      
   </column>
   <column>
    <length autosize="true"/>
<lengthlabel/>
   </column>
  </row>

and put it after this code:
Code: [Select]
<row>
   <column width="120" halign="right">
    <fieldlabel field="dateadded"/>
   </column>
   <column>
<dateadded/>
<spacer width="15"/>
   </column>
  </row>
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Position of "Duration" field
« Reply #4 on: August 27, 2010, 08:07:55 pm »
You may find XML Editor easier to use than a text editor for editing skins. In its Tree view, you would just find the first branch and drag it so it's after the second.

Offline Ally

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Position of "Duration" field
« Reply #5 on: August 27, 2010, 10:33:15 pm »
Thanks a million, nostra and rick......I did exactly as you suggested and have the Duration field right where I want it.  Many thanks.

I have another quick question based on a strange problem I am having.  I am trying to download movie details for All The King's Men (2006) from IMDb.  When I set this movie name (and including the year) in the New Movie Master dialog box, I get All The King's Men (1949), even though I know the 2006 version is up in IMDb (Code # tt0405676). I've tried doing "xx All the king's men", but to no avail.

Is there a way I can enter either the URL or the code # for PVD to download that specific movie?

Thanks in advance for your help.


Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Position of "Duration" field
« Reply #6 on: August 27, 2010, 11:19:19 pm »
Quote
Is there a way I can enter either the URL or the code # for PVD to download that specific movie?

Enter the right URL in the URL field, apply changes and run the plugin
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Position of "Duration" field
« Reply #7 on: August 27, 2010, 11:25:09 pm »
Quote
I am trying to download movie details for All The King's Men (2006) from IMDb.

I don't know why it's doing that. It seems to be a bug. The search should result in search result page, and the contents of that presented in a dialog. But even if it's forced to do that (by adding "x" to the title) it doesn't provide a dialog that includes All The King's Men (2006)—even though it's included in the search results page (that I get by doing the same search in my browser).

Quote
Is there a way I can enter either the URL or the code # for PVD to download that specific movie?

(As nostra suggests) The workaround is to Add a new record, enter the Title and URL, save the record and update.

Offline Ally

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Position of "Duration" field
« Reply #8 on: August 28, 2010, 12:29:20 am »
Sorry, folks......I am a real newbie at this.

Can you tell me where is the URL field in which I should enter the correct URL? Or, what do I need to do to Add a new record?

My apologies for this spoon feeding........I really appreciate your help.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Position of "Duration" field
« Reply #9 on: August 28, 2010, 02:37:05 am »
Sorry, the command is New and is found in the Movies menu (and probably on the toolbar). You won't see the any field unless something is in it, or the record is in edit mode. Selecting New opens a new record in edit mode. You'll see URL immediately about the rating field stars. To re-open a record in edit mode, select Movies - Edit, or double-click the title in the list.

Offline Ally

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Position of "Duration" field
« Reply #10 on: August 28, 2010, 03:04:59 am »
Perfect!!  :D Worked like a charm.

Many thanks for your help on this.

Offline sanangelis

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Position of "Duration" field
« Reply #11 on: September 09, 2010, 04:27:03 am »
Perfect nugget of information. I too prefer the duration Field up there.

Thanks :)

 

anything