Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ferofrantisek

Pages: [1] 2
1
Support / Re: File Scanner and Regular Expressions
« on: May 17, 2015, 12:33:24 am »
Thank you for your fast answer although I am very, very, very sad of it. Maybe later comes to your mind some simple solution with the adjustment of the program in order to transfer the previously mentioned data in brackets through Regexps to some field. I will wait and hope. I have a tremendous amount of anime and mechanical copy data in brackets I see it as a bad solution. Let's all ok, so you have more free time. Thanks for everything.

2
Support / Re: File Scanner and Regular Expressions
« on: May 14, 2015, 04:38:12 pm »
In all modesty and humility I would like to ask if you, Nostra,  could add text field or multiselect list field or CustomField (with any name that you can use) where can i insert with RegExps data. I know that i can use  <title> <origtitle> <eptitle> <year>  <episode> <season> <imdbid> but i have organized video files in folders for example:
G:\Anime\Sword Art Online (720p Dual 10bit CRF24 DF)\[DarkFlames] 01 - The World of Swords.mkv .... 25 episode.
G:\Anime\Sword Art Online (BD 1080p Dual 10bit CRF23.5 dn92)\[dn92] Sword Art Online - 01 [Dual][BD][1080p].mkv ....  25 episode.
(?i)^.*\\(?P<title>.*)\ \((?P<????>.*)\)\\
Title: Sword Art Online
???? : BD 1080p Dual 10bit CRF23.5 dn92

I want to use in addition to the Title, (Original title and Year - if any) and all text in brackets in some text field (or multiselect list field) in the skin. Because in the brackets are very important information regarding quality, encoding and who encoded. (BD 1080p Dual 10bit CRF23.5 dn92). As you can see there are two versions of the same work/anime therefore, this specification will help me identify them. It does not care that there will be two identical Title names found in database or better if it could be resolved in some other way which will be in one record Title of the movie/anime both entries in brackets in some different fields. BD 1080p Dual 10bit CRF23.5 dn92, 720p Dual 10bit CRF24 DF  It would be good if it was accessible file path for both versions of the files/folders of files. I am open to any proposal how would it be better. For me the most important thing that I had stored record in brackets. I would be very grateful if you could find any solutions and helped me. Thank you very much for your work, willingness and effort.
With respect and appreciation, František

3
Development / multiple/repeated Check Box
« on: May 04, 2015, 03:04:55 pm »
Hi. Is there a way to do it? Example: I need near Title/Title of episode Check Box for Subtitles. The List of Titles/ Titles of episodes is in the memo field. The Subtitles is Check Box.  In the memo field list of titles/episodes in every line/row is name of episode. I cannot figure it out how to do it multiple/ repeated Check Box in the skin. The total number of Check Box is equal to number of episodes. Because not every episode has translated subtitles I want to identify. It's something like shown in Figure. Thanks for any advice.

4
Thank you very much. There is no another way

5
I've played around with the coding for some time now and I just can't figure it. Can anybody help me.

How to do that when i use  code "wish" it open some different webpage. /not Amazon.com (<shopbtn />), Ebay (<shopselbtn />)/.
Code: [Select]
                <column space="7">
                  <wish />
                  <fieldlabel field="wish">
                    <font>
                      <color>$8000AE</color>
                    </font>
                  </fieldlabel>
                  <shopbtn />
                  <shopselbtn />
                </column>
I want to use Checkbox on Subtitle and that it open the webpage where it will have found subtitle according to Title of movie. /something similar as it works for "wish"/. Is this the way to do it? Thanks.
Code: [Select]
           <column space="0">
<custom field="Subtitle" />
      <label >
<caption>Subtitle</caption>
     </label>
          ?????
          ?????
          </column>

6
Please, could you tell me a list of custom fields and how they are treated in Custom items in your /pvd_movie_tabs-ex AllMovies/ because I cannot find them and i want  better understand how to do. Thanks.

7
Thank you very much. During my testing I reached unfortunately  the same result. :'(

8
Thank you very much for your kindness, but mechanical translation through some program translator is very often meaningless as could you find out, therefore i only ask, please be patient with me when I ask detailed and use in some case the intuition. Please speak with me in English unless you know speak Slovak. Grammar is another story. Thanks.

9
Excuse me, but I am not very good in English as you could saw therefore I don't understand what are you suggested. Have I add new update of my skin?
On the other side, Is this the way to do it, combine <human category="2"> with some field="Series Composition:" Thanks for all and I checking your skins.

10
Please excuse my mistake, i am forgotten to mention it  in the skin. I only mentioned it in the script.
Code: [Select]
//---------- List of CustomField ----------//

//1. Original Work: memo   
//3. Story Composition: memo
//4. Series Composition: memo
//5. Character Design: memo
//6. Music: memo
//8. Animation Producer: memo
//9. Animation Work: memo

//10. Production: memo --
//11. List of episodes: memo

//11. AniDB: Rating

11
Thank you very much. It works, but scenario with <human category="2" /> not working.  Is this the way to do it? Thanks.
Code: [Select]
<row>
<column width="130" halign="right" valign="top">
     <!-- <customfieldlabel field="Story Composition:" /> -->
    <label>
                                                              <caption>Story Composition:</caption>
            </label>

</column>
<column>
<!-- <custom field="Story Composition:" /> -->
<human category="2" />
</column>
</row>

This is wrong, so can not and does not work, of course, necessary to examine all the necessary skin, which are available on the forum or the download page.
In your case, it is a similar piece of code as in pvd_classic_movie skin:
Code: [Select]
  <row>
   <column width="120" halign="right" valign="top">
    <fieldlabel field="human" category="2"/>
   </column>
   <column>
<human category="2"/>
   </column>
  </row>

Thank you very much. But i know about this code and i used it in my skin AniDB as you could  saw in my first attachment. I was asking something different. I would like if it possible to do that data from Writers <human category="2"> and Composers <human category="3">, will show as field="Story Composition:" and field="Series Composition:" . Because I want use option: show only movies with writers and group movie by writers etc.…, of course filed will be outwardly Story Composition: and etc.. Maybe you understand me what I want to do.  Because if I used <custom field="Story Composition:"/>  It was without this option. It is outwardly a little similar as was with AniDB: rating and data from Rating. Am I missing something, or is there a another way to do this?
Code: [Select]
               <row>
<column width="130" halign="right" valign="top">
<customfieldlabel field="Story Composition:" />
</column>
<column>
<custom field="Story Composition:" />
</column>
    </row>

12
Thank you very much. It works, but scenario with <human category="2" /> not working.  Is this the way to do it? Thanks.
Code: [Select]
<row>
<column width="130" halign="right" valign="top">
     <!-- <customfieldlabel field="Story Composition:" /> -->
    <label>
                                                              <caption>Story Composition:</caption>
            </label>

</column>
<column>
<!-- <custom field="Story Composition:" /> -->
<human category="2" />
</column>
</row>

13
Quote
Entry should be approximately as follows:
Code: [Select]

                  <row>
                  <!-- <column halign="center" > -->
                  <column halign="left" space="5">
                  <custom field="AniDB:"/>

Thank you very much. I tried may times, but it didn't work. There is not showing AniDB:. I would like if it possible that data from rating will show as AniDB:.  Here is picture, because i don't know how to better explain. Thank you very much for your patience with me.
Code: [Select]
                                       <row>
<column halign="center" >

<!-- <customfieldlabel field="AniDB:"/> -->
<custom field="AniDB:"/>
                                                 </column>
                                        <column>
<rating autosize="true">
</rating>
</column>
</row>

Similar scenario for Additional Rating as AniDB:

Code: [Select]
<row>
   <column width="120" halign="right">
 <!-- <customfieldlabel field="AniDB:"/> -->
   <custom field="AniDB:"/>
<!-- <orname width="118" wordwrap="true" halign="right">
         <font>
          <bold></bold>
          <size>8</size>
</font>
</orname> -->
   </column>
   <column>
<orating/>
   </column>
  </row>

Similar scenario.

Code: [Select]
<!-- Story Composition: as writer -->
<row>


<column width="130" halign="right" valign="top">
                                                                    <!-- <fieldlabel field="human" category="2"/> -->
    <!-- <customfieldlabel field="Story Composition:"/> -->

<custom field="Story Composition:"/>
</column>
<column>
<!-- <custom field="Story Composition:" /> -->
<human category="2"/>
</column>
</row>

Am I missing something, or is there a another way to do this?
I know that 'full Custom Field' is correctly for example this code but there is a different case.
Code: [Select]
                                               <row height="35">
<column halign="left" space="6" valign="center"> <!-- prázdne miesto medzi dvoma polami/nazvami -->
<spacer width="15"/> <!-- posúva od zaciatku riadku -->
<customfieldlabel field="AniDB:"/>

<custom field="AniDB:"/>
</column>
</row>

14
2.   How to do that the content of column <genre> ...

This is not a genre, but tags, which are transferred to the normal Tags field. Yes for the Tags field, but can no be used ' collapsedlines = "2" ' for normal genre field is not the case, but more can be found in Personal Video Database Skin Engine Manual : Attributes (properties)

Code for script: Tags
Code: [Select]
//Genre Žánry
 
curPos := Pos('<th class="field"><a href="animedb.pl?show=taglist">Tags</a></th>', HTML);
LogMessage('9 zistujem Žánry do mfGenre');
 if curPos > 0 then begin 
LogMessage('9.1 zbiera z intervalu všetky Žánry do mfGenre');
TmpG := HTMLValues2(HTML,'<a href="animedb.pl?show=taglist">Tags</a></th>', '<th class="field">Resources</th>', 'animetb">', '<span class=', ', ', curPos)
LogMessage('9.1.1 vsetky  mfGenre'+TmpG);
AddFieldValue(mfTags, TmpG);
//AddFieldValue(mfGenre, UpperCase(TmpG));
//EndPos := curPos;
  end;

Code for skin:
Code: [Select]
<row>
  <column width="130" halign="right" valign="top">
<fieldlabel field="tags" />
  </column>
  <column>
<tags linkcolor1="$222222" linkcolor2="$777777" collapsedlines="2" />
  </column>
</row>


Thank you very much for your response.
  1.is it possible set up in Code for script: Tags  - size of font?, because it is not working and i cannot find solution ???   
2. is it possible set up only in this section - in this row?   <underline_memo>false</underline_memo>, because it is not working and i cannot find solution ???  Am I missing something, or is there a another way to do this?

Code: [Select]
                         <row>
<column width="130" halign="right" valign="top">
<!-- <fieldlabel field="tags"/> --> <!-- Tags no visible -->
</column>
<column>

                                      <linkdefs>
<underline_memo>false</underline_memo>
<underline_record>false</underline_record>
     </linkdefs>

<font>
<size>20</size>
</font>

  <tags linkcolor1="$9F0000" linkcolor2="$FF5809" collapsedlines="2"/>
</column>
</row>

         
Thanks.

15
Development / Re: download all together more poster-picture from url
« on: March 05, 2015, 05:10:57 pm »
Thank you, I used something different, but I have some other problems which i mentioned in Subject: How to do that in the title.... There is also full working script and Skin for Anime Database. Please look for it.
Thank you for any advice.
 :D

16
Hello.
I was finishing the script and skin for AniDB – anime database. I would like to ask if someone could help me with some nuance of skin or script. Sorry for my bad English.

1.   How to do that in the title was automatically the change of size of font when not fit in row, so the text will not going to next line, or  part of the title will not be overlap?

2.   How to do that the content of column <genre> will be automatically changed such that the first letter of the words, will be displayed with large first letter. for example : action, science fiction, mecha,  --  Action, Science fiction, Mecha?

3.   How to do that the content of whole column will be always displayed or 2 line will be displayed? for example in my case: List of episodes:  :D I founded solution:
            <row>
            <column width="200" halign="center" valign="top" wordwrap="true">
               <customfieldlabel field="List of episodes:"/>
            </column>
            <column>                        
               <custom field="List of episodes:" collapsedlines="10000"/> 
               
            </column>
         </row>   

but for another  example: </genre> it is not working and i cannot find solution: ???
<row>
                    <column space="35">
                     <section space="10">
                        <color>$C6D6F4</color>
                        <border shape="none" />
                       <row>
                          <column>
                           <genre linkcolor1="$9F0000" linkcolor2="$FF5809" collapsedlines="2" >                         
                           <font>
                              <size>14</size>
                             <name>Georgia</name>
                            </font>                           
                          </genre>
                        </column>
                       </row>                      
                     </section>
                    </column>
                  </row>
4.   How to do that  <customfieldlabel field="AniDB:"/>  will be displayed with rating?; 
code:          <row>
                  <!-- <column halign="center" > -->
               <column halign="left" space="5">
                  <customfieldlabel field="AniDB:"/>
                  <rating autosize="true">
                  </rating>
               </column>
               </row>
  AniDB: is in the row presented but it is hide, it shows only when editing.
In the attachments is full working script and Skin for Anime Database. Please look for it.

Thank you for any advice and help.


17
Development / Re: download all together more poster-picture from url
« on: February 11, 2015, 05:57:24 pm »
During the testing i find out how to download all poster-image.
Code:
if DOWNLOAD_POSTER_ROLE then begin
  curPos := Pos('<h4><span>main character</span></h4>', HTML);
  LogMessage('10   IF POSTER_ROLE');
  if curPos > 0 then begin
 
 TmpURLpr := '';

curPos := PosFrom('<img src="http://img7.anidb.net/pics/anime/thumbs/', HTML, curPos);
EndPos  := curPos;
curPos1 := PosFrom('<h4><span>secondary cast</span></h4>', HTML, curPos)
LogMessage('21.1 ROLE POSTER Actors jpg');
//while (curPos < curPos1) and (curPos > EndPos) do begin
 while (curPos < curPos1) do begin
 
   curPos := PosFrom('<img src="http://img7.anidb.net/pics/anime/thumbs/', HTML, curPos) + Length('<img src="http://img7.anidb.net/pics/anime/thumbs/50x65/');
   EndPos := PosFrom('-thumb.jpg"', HTML, curPos);
 
   LogMessage('10.1   DOWNLOAD_POSTER_ROLE');
   URLpr := 'http://img7.anidb.net/pics/anime/' + Copy(HTML, curPos, EndPos - curPos);
LogMessage('10.2   URL ROLE ACTORS: '+URLpr);
    LogMessage('10.3   List of URL ROLE ACTORS to download: '+TmpURLpr);
   TmpURLpr := TmpURLpr + URLpr+';'+#32 ;
   
   ExtraLinks[smPoster] := URLpr 
   //AddImageURL(0,URLpr); 
  end;
    //ExtraLinks[smPoster] := TmpURLpr **not working error bad request
 end;

I would like to ask if someone know how to download poster-image:
1.  save in the place where is file with movie or some other place not in to the database file. (which setting can i use?)
2. save poster-image with specific name (for example name of role from movie) which is different when i download from url.
Thanks for any advice.

18
Development / download all together more poster-picture from url
« on: February 11, 2015, 12:37:58 pm »
Hi
I would like to ask if someone could help me.
Is it possible to download all together more poster-picture from url? I used TmpURLpr where is all url which I want to download.

(11.02.2015 12:24:43) GET: http://img7.anidb.net/pics/anime/14764.jpg; http://img7.anidb.net/pics/anime/16119.jpg; http://img7.anidb.net/pics/anime/14768.jpg; http://img7.anidb.net/pics/anime/14771.jpg; http://img7.anidb.net/pics/anime/14766.jpg; http://img7.anidb.net/pics/anime/14767.jpg; http://img7.anidb.net/pics/anime/16090.jpg;
But I get http/1.0 400 Bad Request

Code:
if DOWNLOAD_POSTER_ROLE then begin
  curPos := Pos('<h4><span>main character</span></h4>', HTML);
  LogMessage('10      if POSTER_ROLE');
  if curPos > 0 then begin
 
 TmpURLpr := '';

curPos := PosFrom('<img src="http://img7.anidb.net/pics/anime/thumbs/', HTML, curPos);
EndPos  := curPos;
curPos1 := PosFrom('<h4><span>secondary cast</span></h4>', HTML, curPos)
LogMessage('21.1  ROLE Actors jpg');
while (curPos < curPos1) do begin
 
   curPos := PosFrom('<img src="http://img7.anidb.net/pics/anime/thumbs/', HTML, curPos) + Length('<img src="http://img7.anidb.net/pics/anime/thumbs/50x65/');
   EndPos := PosFrom('-thumb.jpg"', HTML, curPos);
 
   LogMessage('10.1   DOWNLOAD_POSTER_ROLE');
   URLpr := 'http://img7.anidb.net/pics/anime/' + Copy(HTML, curPos, EndPos - curPos);
LogMessage('10.2   URL ROLE ACTORS: '+URLpr);
   
   TmpURLpr := TmpURLpr + URLpr+';'+#32 ;
   
  end;
  LogMessage('10.3   URL ROLE ACTORS List to download: '+TmpURLpr);
  ExtraLinks[smPoster] := TmpURLpr
 end;
 
 end;


Thanks for all.

19
Development / Re: make Custom Field names same as Directors (ctDirectors)
« on: September 17, 2014, 11:28:42 am »
Thank you very much but maybe i didn’t understand accurate or write correct, because when I push right button on mouse on fields of Director or Actors there are options  / Show movies only with Actors =  … or  Group movies by Actors /. Fields Director or Actors also have url reference.  So I would like if it possible to do with CustomField  for example 'Original Work:’

When I add code AddCustomFieldValueByName('Original Work by:', TransName);  i create new field 'Original Work by:' but these information already are saved in 'Original Work:’

I tested that CustomField must be only memo because this can hide url reference and after that url working.

This code i use for actors and working.


//Seiyu ~ctActors~

curPos := Pos('<h4>main cast</h4>', HTML);
LogMessage('21 zistujem ci su Actors');
 if curPos > 0 then begin
 curPos := PosFrom('creatorid=', HTML, curPos);
EndPos  := curPos;
curPos1 := PosFrom('">show more</a></td>', HTML, curPos)
LogMessage('21.1 zadávam Actors');
while (curPos < curPos1) do begin

  URL :=  'http://anidb.net/perl-bin/animedb.pl?show=creator&creatorid=' + TextBetween(HTML, 'creatorid=', '">', false, curPos);
  LogMessage('20.2      zadavam url Actors '+URL);
 
     TransName := TextBetween(HTML,  '">', '</a>', false, curPos);

    LogMessage('20.3      zadavam meno Actors '+TransName);
    curPos := PosFrom('charid=', HTML, curPos);
    URLr :=  'http://anidb.net/perl-bin/animedb.pl?show=character&charid=' + TextBetween(HTML, 'charid=', '">', false, curPos);
    LogMessage('20.4      zadavam url role '+URLr)
   
    Role := TextBetween(HTML,  '">', '</a>', false, curPos);
       LogMessage('20.3      zadavam meno role '+Role);
          
 curPos := PosFrom('creatorid=', HTML, curPos);

  AddMoviePerson('', TransName, Role, URL, ctActors);
  end;


20
Development / Re: make Custom Field names same as Directors (ctDirectors)
« on: September 11, 2014, 10:42:54 am »
Thank you very much for code, url is working. Field must be only memo. How do i do that in the PDV that I could show movies with Original Work or  group movies by Original Work same as the Director and Actors?

Pages: [1] 2
anything