Author Topic: Can I avoid the links?  (Read 34470 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #20 on: August 24, 2016, 07:30:37 am »
I changed now the txtinfo_en (0a).psf via Wordpad to a txt file. But what is to do now?

The txtinfo_en (0a).psf  file can not be converted from Wordpad in a txt file, because then they will no longer work. The same applies to all files .psf extension.

Quote
And where is the place in the PVD folder where I have to put  the psf file?

Files with .psf extension copy in C:\Program Files\Personal Video Database\Scripts. The same also applies to the txtinfo_en (0a).psf , txtinfo_en (0b).psf and txtinfo_en (0c).psf  file

Quote
And where is the place in I have to put the txt file?

To movie.txt files, which I have added myself and all those movie.txt files, which you create yourself, so you make a special folder, which will then all these movie txt file saved for later because you will then needing to transfer information in your PVD Movie Database.

I do not really understand where I have to put the information (let's say about "Director") now. In the txt file? Where exactly there?

Now that you have all this, PVD, run the program and create custom fields as you see in the attached sshot-40 picture. Then edit your txtinfo_en (0a).psf file as a whole the attached sshot-41 picture. Now, in the Import tab locate the txtinfo_en (0a).psf file and import movie information for a specific movie title, open a window in which to find previously mentioned folder where you saved txt file for a particular movie and you click on it and will take place the transfer of information in your PVD Movie Database for a particular movie (see images at this link: http://www.videodb.info/forum_en/index.php/topic,4061.msg19764.html#msg19764 ). Repeat the last part of every movie and so you will have almost all the information in your PVD Movie Database, whatever you find there is a need to manually enter the PVD Movie Database or simply movie.txt file these data for a particular movie does not contain.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #21 on: August 25, 2016, 03:09:19 pm »
Your description and your pictures are very useful, but I think that nevertheless the whole procedure is too complicated for me.  :-\

In detail:

The txtinfo_en (0a).psf  file can not be converted from Wordpad in a txt file, because then they will no longer work. The same applies to all files .psf extension.
O.k. That was a misunderstanding from my side. You meant to create a new txt file directly in Wordpad.

Files with .psf extension copy in C:\Program Files\Personal Video Database\Scripts. The same also applies to the txtinfo_en (0a).psf , txtinfo_en (0b).psf and txtinfo_en (0c).psf  file
O.k. Done.

To movie.txt files, which I have added myself and all those movie.txt files, which you create yourself, so you make a special folder, which will then all these movie txt file saved for later because you will then needing to transfer information in your PVD Movie Database.
O.k. Done too.

Now that you have all this, PVD, run the program and create custom fields as you see in the attached sshot-40 picture.
O.K. (Very useful your picture.  :) )

Then edit your txtinfo_en (0a).psf file as a whole the attached sshot-41 picture. Now, in the Import tab locate the txtinfo_en (0a).psf file and import movie information for a specific movie title, open a window in which to find previously mentioned folder where you saved txt file for a particular movie and you click on it and will take place the transfer of information in your PVD Movie Database for a particular movie (see images at this link: http://www.videodb.info/forum_en/index.php/topic,4061.msg19764.html#msg19764 ).
I tried to do this also and I have now all the names etc. indeed without links (as I wanted it). But this information is not in the appropriate fields of PVD but all in the field "Comments" ("Kommentare") (see attached picture AVB). So I would have in a next step to transfer the data (by copy and paste) to the appropriate fields (above).

Moreover I conclude from your explanations that I would have to make alle the procedure (to create a txt.file etc.) for every movie separately, as you write:

Repeat the last part of every movie and so you will have almost all the information in your PVD Movie Database, whatever you find there is a need to manually enter the PVD Movie Database or simply movie.txt file these data for a particular movie does not contain.

That's a lot of work (compared to copy and paste directly from my original Word doc to the original fields in PVD).  :-\

So I think that at least for the time being I will remain to use PVD in its "normal" way and I will try to "live" with all the hyperlinks in the names. Perhaps some other time in the future I will try again to work with your script.

Anyway I appreciate very much your helpfulness and your good explanations. Thanks once more for all the time, work and patience you have invested in order to create the script and to support me in this difficult matter, Ivek23. :)

Maybe in the next time I will come back with some other - smaller ;) -  questions concerning PVD.
« Last Edit: August 25, 2016, 03:12:17 pm by Peter »
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #22 on: August 25, 2016, 04:31:03 pm »
That's a lot of work (compared to copy and paste directly from my original Word doc to the original fields in PVD).  :-\

No problem, I'll be happy to help even if my health will be well served.

So I think that at least for the time being I will remain to use PVD in its "normal" way and I will try to "live" with all the hyperlinks in the names. Perhaps some other time in the future I will try again to work with your script.

No problem, the script can be also arrange to the information transfer even in normal fields as you now is also hinted.

BTW:
The information is therefore in the comment field that you can see what all the information contains a certain movie.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #23 on: August 25, 2016, 05:31:55 pm »
I found a simple solution.

I have adapted the pvd_classic_movie (ex) skin, which you copy into this folder :

C:\Program Files\Personal Video Database\Skins\Movies

All custom fields have the same places as the normal fields in PVD for Darsteller, Regie, Drehbuch, Produktion, Musik (for Actors, Director, Writer, Producer, Composer).

In PVD settings to find skin settings and your skin is set in the settings.
Confirm the settings and the skin that you can immediately put to use also.

The skin is attached.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #24 on: August 25, 2016, 09:57:08 pm »
That sounds good.  8)

I tried the new skin but I have a problem with the following:

All custom fields have the same places as the normal fields in PVD for Darsteller, Regie, Drehbuch, Produktion, Musik (for Actors, Director, Writer, Producer, Composer).

When I add a new movie, the fields look like on the attached picture ("New skin"): The fields for Darsteller (Actors), for Regie (Director) etc. are not visible although I can see the appropriate entries in the xml-file you created.
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #25 on: August 26, 2016, 06:06:44 am »
That sounds good.  8)

I tried the new skin but I have a problem with the following:

All custom fields have the same places as the normal fields in PVD for Darsteller, Regie, Drehbuch, Produktion, Musik (for Actors, Director, Writer, Producer, Composer).

When I add a new movie, the fields look like on the attached picture ("New skin"): The fields for Darsteller (Actors), for Regie (Director) etc. are not visible although I can see the appropriate entries in the xml-file you created.

You are not created memo custom fields for Darsteller, Regie, Drehbuch, Produktion, Musik, so Darsteller, Regie, Drehbuch, Produktion, Musik are not visible.


Movie data:                                           memo custom field:
---------------                                       -------------------

Darsteller                                              Darsteller:   
Regie                                                     Regie;
Buch                                                       Buch:
Drehbuch                                               Drehbuch:
Produktion                                             Produktion:
Musik                                                      Musik:


All these custom fields in PVD enter the settings as is visible on sshot-40 picture (http://www.videodb.info/forum_en/index.php/topic,4061.msg19770.html#msg19770) and custom fields will now be visible.

I fixed a bug in txtinfo_en (0a).psf script file and the revised version is attached.
« Last Edit: August 26, 2016, 06:26:02 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #26 on: August 26, 2016, 01:40:23 pm »
O.k. Perhaps I will try again at another time. At the moment it is too complicated for me. :-\ For the time being I will stay with PVD in its "normal" version (= with the links).

Nevertheless your fantastic support is highly appreciated, Ivek23. It is not your fault but mine that until now I was no table to get it to work. Once more many thanks for your work, your help and your patience. :)
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #27 on: August 30, 2016, 07:10:14 am »
O.k. Perhaps I will try again at another time. At the moment it is too complicated for me. :-\ For the time being I will stay with PVD in its "normal" version (= with the links).

Even for this form of the above-mentioned way, here is the solution, because it is made txtinfo_en (1a) script, which transfer information in normal fields (see sshot-42 picture). This script will be much less paste / copy job because you make only the .txt file for each movie separately (the way they do has already been mentioned earlier) or send me .doc files. These .txt files do itself (which is no problem) and then send them to you. Your choice is how and what you will do then.

Nevertheless your fantastic support is highly appreciated, Ivek23. It is not your fault but mine that until now I was no table to get it to work. Once more many thanks for your work, your help and your patience. :)

Welcome and thanks.



Picture and script is attached.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #28 on: January 05, 2017, 04:38:48 pm »
Hello Ivek23!

I am very happy. :D After a long delay I tried again to create entries without links - following the instructions you gave in this thread. And this time it worked fine and so easily.

Maybe that it is of interest for other users too, so I will describe how I do it now:

A) For adding new entries (movies) without links for names (Actors, Director, Producer etc.) the method is very simple:

- I downloaded the skin pvd_classic_movie (ex) skin, as offered by you in your above posting #23 (25 August 2016) (= http://www.videodb.info/forum_en/index.php/topic,4061.msg19774.html#msg19774) and copied it in the folder mentioned there. (In my case the folder is part of the portable version of PVD).

- I created the memo custom fields as explained and shown by you in your postings #25 and #20 (especially picture sshot-40).

- In essence, that's all. When chosing now your skin, I can create data/names without links.  :)

It is only of importance to take care that the names of the memo custom items are the same as in the xml file of the skin. (In my case, I decided to use the following [german] names: Darsteller: / Drehbuch: / Musik: / Produzent: / Regie: )

Moreover I modified - also in the xml-file of your pvd_classic_movie (ex) skin - some minor details as font, font size, background colours etc. (adjusting it more or less in the way I had done it in the old skin).

[A few quite unimportant details I was not able to modify until now. Perhaps about them I will ask you at another time in case that you will still be ready to offer your friendly support.]

B) Concerning already existing entries in the database (= entries where the names have links):
I think in order to remove these links you created the script "txtinfo_en (0a).psf" (as offered and described in your above postings). As I have no experience in using scripts I did not know how exactly to handle it. But I made the removing of the links manually which may be more work but it is funny work as you see immediately its success. ;)

- It is important to open an entry (movie) with the old skin (the one which creates the undesired links). When starting the editing you will see there the new custom fields. This was something that first worried me, but now I found out what to do with it: I simply transfer the entries (names) from the field where they have been until now to the corresponding new custom fields at the bottom (with a simple copy and paste) (see the attached image).

- After saving this modification and then changing to the new skin, all entries (names) are at the right place (as it were with the old skin) but now without the links. Perfect!

Ivek23, once more many thanks for all your fantastic work and support:)
« Last Edit: January 05, 2017, 04:56:09 pm by Peter »
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #29 on: January 07, 2017, 01:22:02 pm »
Thank you.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #30 on: January 08, 2017, 09:52:14 pm »
All works fine with your solution, Ivek23. I have transferred in the meantime my old entries to the new skin and from now on I am working directly with it.  :)

I would like to ask you about a small (and surely not very important) detail:

It would be fine if my custom field "Darsteller" * could look like exactly in the same way as the corresponding field "Actors" (respectively in German "Darsteller") in my old skin (= the one with the links).
*[in the meantime I changed the name to "Darsteller/innen" but this is of no importance for my issue]

That means:

a) The name of the field ("Darsteller") should always be in the first line beside the field (on top) [see picture 01] and not in the middle [see picture 02]. (achieved in the old skin by valign="top")

b) It would be nice if more lines of this field (for example the first 5 lines) could always be visible (expanded) [see picture 01] and not only the first line [see picture 03]. (achieved in the old skin obviously by collapsedlines="5") It would also be o.k. if all lines of this field are always expanded.

Here the parts of the xml files which seem to be relevant in this matter:

From my old skin (= the one with links) (= pvd_classic_movie.xml with small modifications):

Code: [Select]
<row>
   <column width="120" halign="right" valign="top">
    <fieldlabel field="human" category="0"/>
   </column>
   <column>
<human category="0" collapsedlines="5"/>
   </column>
  </row>

From my new skin (= the one without links) (= pvd_classic-movie (ex).xml with small modifications):

Code: [Select]
  <row>
       <column>
        <label width="128" halign="right">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:"></custom>
        <spacer width="11" />
   </column>
<column>
   </column>
  </row>

If it is easy for you to find out how I would have to change the xml file, I would be grateful for your advice.
« Last Edit: January 08, 2017, 10:11:41 pm by Peter »
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #31 on: January 20, 2017, 07:23:43 pm »
Code: [Select]
  <row>
       <column>
        <label width="128" halign="right">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:"></custom>
        <spacer width="11" />
   </column>
<column>
   </column>
  </row>

If it is easy for you to find out how I would have to change the xml file, I would be grateful for your advice.

This should solve the problem.

Code: [Select]
  <row>
       <column>
        <label width="128" halign="right" valign="top">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>

Number in ' collapsedlines ' can be changed if necessary as far as you will need that this field will always remain fully open.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #32 on: January 21, 2017, 04:37:41 am »
Wow, so easy.  ;) Formerly I had tried to make similar entries in the xml-file, but without success. That's why I had asked. Now - with your support - all the lines in the field are automatically visible. Perfect! Once more: thank you, Ivek23.

Only a small detail still does not work as it should: The field name ("Darsteller/innen") is still in the middle instead in the first line (when the contents fills 2 or more lines). This happens although I added the valign="top" on the place you showed me.

If it is easy for you, it would be nice if you could tell me what should additionally be changed (so that it is in the first line). But it is really of no big importance. So please do not spend a lot of time or research work on this. I ask only in case that it is obvious and easy for you to find out what should be modified additionally in the xml-file.
Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #33 on: January 21, 2017, 09:10:53 am »
You may try this
Code: [Select]
  <row>
       <column halign="right" valign="top">
<spacer width="12" />
        <label width="128">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>

If necessary, you can change the settings. For you I did this combination, which will require changes to the figures.




This is my example of how I  ' <caption> TheMoviedb Aka: </ caption> '  became the first in a series of what you would like to have.
Code: [Select]
              <row>
                <column halign="right" valign="top">
                  <spacer width="12" />
                  <label width="107">
                    <caption>TheMoviedb Aka:</caption>
                  </label>
                  <custom field="TheMoviedb Aka">
                    <color>$D7FDDD</color>
                    <font>
                      <name>Franklin Gothic Medium</name>
                      <!-- <color>$D7FDDD</color>
  <color>$8000EEA</color>
  <name>Franklin Gothic Medium</name>
  <size>11</size>-->
                      <bold />
                    </font>
                  </custom>
                  <spacer width="11" />
                </column>
              </row>

« Last Edit: January 21, 2017, 07:39:04 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #34 on: January 21, 2017, 09:25:52 am »
You may try this
Code: [Select]
  <row>
       <column halign="right" valign="top">
<spacer width="12" />
        <label width="128">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>

If necessary, you can change the settings. For you I did this combination, which will require changes to the figures.




This is my example of how I  ' <caption> TheMoviedb Aka: </ caption> '  became the first in a series of what you would like to have.
Code: [Select]
              <row>
                <column halign="right" valign="top">
                  <spacer width="12" />
                  <label width="107">
                    <caption>TheMoviedb Aka:</caption>
                  </label>
                  <custom field="TheMoviedb Aka">
                    <color>$D7FDDD</color>
                    <font>
                      <name>Franklin Gothic Medium</name>
                      <!-- <color>$D7FDDD</color>
  <color>$8000EEA</color>
  <name>Franklin Gothic Medium</name>
  <size>11</size>-->
                      <bold />
                    </font>
                  </custom>
                  <spacer width="11" />
                </column>
              </row>

This solution will also be useful for other users, which would like to have the same solution in the skin for memo fields.
« Last Edit: January 21, 2017, 07:40:05 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Peter

  • Member
  • *
  • Posts: 18
    • View Profile
Re: Can I avoid the links?
« Reply #35 on: January 21, 2017, 07:58:33 pm »
Perfect! It works fine with the code you mention, namely this one:

Code: [Select]
<row>
       <column halign="right" valign="top">
<spacer width="12" />
        <label width="128">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>

As you say, I only had to change a little bit some figures, namely the figure for the first spacer width (from 12 to 4) and the figure for label width (from 128 to 116) so that the lines of the field and the field name are in the same position as the other ones.

I enclose a picture to show how the entry for a movie looks now with the configuration I made, based on the friendly support given by Ivek23. I am completely happy now with this look and the arrangements of the fields.  :D

Thank you so much, Ivek23.  :)

Windows 7 Home 32bit, PVD version 1.0.2.7

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2743
    • View Profile
Re: Can I avoid the links?
« Reply #36 on: January 22, 2017, 07:33:48 am »
Welcome. I am pleased that there is now a small problem successfully solved. Even yourself, you are now satisfied with the look of skin.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD