Author Topic: Admin rights, Playlists and more Qs  (Read 15667 times)

0 Members and 1 Guest are viewing this topic.

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Admin rights, Playlists and more Qs
« on: June 09, 2009, 02:20:41 pm »
Hi,
I'm new, and finally glad I found a SW I find appropriate for my growing collection.
Anyhow,I do not understand some things, I would be very glad if you could answer these Qs.

1) I chose PVD because it seems there's an option to use Playlists as PLS or M3U. But I did not find a feature in PVD which lets me create them.
I need user defined Playlists because I stream the movies from HDD to my Playstation3, which really works fine using the java-program "PS3mediaserver", neat software that is. Sadly on the ps3 it can only show me my folder structure or playlist content (needs relative paths).
=>
So what I wanted to do is create my database entries and then create playlists by Genre, stored on toplevel of my movie files folder . How can that be done? Because otherwise, I really am stuck.


2) It seems I need admin rights for PVD to run properly.
Initially I wanted to run it as -portable because I liked the idea of all files being contained in one folder. Anyhow, this only worked with admin rights, as in both program files locations I use, the rights were too low for PVD to run. It always gave me an error code 32 (user has no permission to read/select TABLE..) when I tried to execute PVD.

Well I then used the normal viddb.exe which worked because it saves the DB in \my documents.
But sadly, as I just tried to config the plugins, the program reported the error "File access denied". Again, this works fine with admin rights, but I do not want to run it with admin rights. A program should work without.

Any Idea what I did wrong setting up the program or anything? Only thing I can come up with is allowing read/write in "Program files\pvd". I extracted the zip-version..


3) I already tried to import OFDB.de info for some movies which worked. If I need to add special information to that movie not provided by OFDB, like the IMDB-rating, how would I do that? Is it correct to just go on import -> get movie info from IMDB, and with default settings it only fills the fields which have not been filled by OFDB?

4) I tried to load covers from allcdcovers. But somehow it opened their webpage. How can they be imported like the amazon posters?

5) Is it possible to automaticaly download sth. like a short movie description like from AllCDCovers, the Back Cover information to the description or comment field? I find the IMDB/OFDB plot/description too detailled to read it before watching the movie.

6) How do I get the roles automatically added next to the actor?


I bet there are more qeustions to come ;)

Thank You very much, ILM




Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #1 on: June 09, 2009, 04:24:08 pm »
Quote
1) I chose PVD because it seems there's an option to use Playlists as PLS or M3U. But I did not find a feature in PVD which lets me create them.
I need user defined Playlists because I stream the movies from HDD to my Playstation3, which really works fine using the java-program "PS3mediaserver", neat software that is. Sadly on the ps3 it can only show me my folder structure or playlist content (needs relative paths).
=>
So what I wanted to do is create my database entries and then create playlists by Genre, stored on toplevel of my movie files folder . How can that be done? Because otherwise, I really am stuck.

You need to create an export template for this. [Instructions here]. Then filter movies, by each genre and export using your template.

Quote
2) It seems I need admin rights for PVD to run properly.
Initially I wanted to run it as -portable because I liked the idea of all files being contained in one folder. Anyhow, this only worked with admin rights, as in both program files locations I use, the rights were too low for PVD to run. It always gave me an error code 32 (user has no permission to read/select TABLE..) when I tried to execute PVD.

Well I then used the normal viddb.exe which worked because it saves the DB in \my documents.
But sadly, as I just tried to config the plugins, the program reported the error "File access denied". Again, this works fine with admin rights, but I do not want to run it with admin rights. A program should work without.

Any Idea what I did wrong setting up the program or anything? Only thing I can come up with is allowing read/write in "Program files\pvd". I extracted the zip-version..

That's totally normal thing that you need admin rights in portable mode. All portable applications do as an app can't write to it's own folder by default and this is usually the default location where files are store in portable mode. So you have 2 possiblities:
1. Run as admin
2. Edit permissions for PVD folder, so that normal users can write to it

Quote
3) I already tried to import OFDB.de info for some movies which worked. If I need to add special information to that movie not provided by OFDB, like the IMDB-rating, how would I do that? Is it correct to just go on import -> get movie info from IMDB, and with default settings it only fills the fields which have not been filled by OFDB?

Yes, you can run another plugin/script to get additional information or just add it manually by going into "edit mode" (Movies -> Edit)

Quote
4) I tried to load covers from allcdcovers. But somehow it opened their webpage. How can they be imported like the amazon posters?

It is not possible as allcdcovers prevents direct download of images. I can do nothing about it :(

Quote
5) Is it possible to automaticaly download sth. like a short movie description like from AllCDCovers, the Back Cover information to the description or comment field? I find the IMDB/OFDB plot/description too detailled to read it before watching the movie.

You can configure the IMDB plugin to download short description which is one or sentences.
1. Tools -> Preferences -> Plugins
2. Select imdb plugin
3. Configure
4. Uncheck "Download full plot summary"

Quote
6) How do I get the roles automatically added next to the actor?

If this information is present it can be shown like this:
1. Tools -> Preferences -> Movies -> Information card
2. Check "Role" in "Show credits as"
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #2 on: June 09, 2009, 04:34:35 pm »
Danke!

I will try to do what you suggested.

Cheers ILM

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #3 on: June 09, 2009, 04:37:11 pm »
Keine Ursache ;)
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #4 on: June 09, 2009, 06:04:13 pm »
ok I got it almost done.
2 things about the playlist i don't get:

a) using {%value=path} gives the full path including file. How do I get the path w/o file?
b) how do I change the code to substract a predefined part of the path, so that it results in a relative path? [EDIT: ok  got that using replace]

like this:
 D:\Movies\Terminator\terminator.avi  => Movies\Terminator\

ah another thing. how can I prevent the assigned application to run the exported file?

[EDIT I now have 2 another issues:
c-I tried to export filtered by genre, but it always exports all files in the left list
d- every 2nd or 2rd time I try to export using my template, PVD hangs and will not come back before I kill the app. my template looks like this now:


%OPTIONS%
filter="M3U Files|*.m3u"
encoding="UTF8"
replace="G:\---== F I L M ==---\<->"
%OPTIONS%
%HEAD%#EXTM3U%HEAD%
#EXTINF:{%value=length},{%value=origtitle}
{%value=path}


]

great work!
« Last Edit: June 09, 2009, 06:14:18 pm by ILoveMovies »

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #5 on: June 09, 2009, 06:15:26 pm »
Quote
a) using {%value=path} gives the full path including file. How do I get the path w/o file?

There is no easy way of doing this in PVD. I could add such functionality to the export plugin in future.

Quote
b) how do I change the code to substract a predefined part of the path, so that it results in a relative path?

You can only replace things currently. So you could replace "D:\" with "" simulating relative path creation for this particular case.

Quote
ah another thing. how can I prevent the assigned application to run the exported file?

Configure the export plugin not to do this.

Quote
c-I tried to export filtered by genre, but it always exports all files in the left list

I think you are grouping movies instead of filtering. Filters or Quick search are found on the toolbar right after all the standard buttons.
« Last Edit: June 09, 2009, 06:17:37 pm by nostra »
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #6 on: June 09, 2009, 06:17:10 pm »
ok thx
btw I added 2 Qs to the post above..
btw2 you're a fast replier


<There is no easy way of doing this in PVD. I could add such functionality to the export plugin in future.

well you could add a variable called filename. one could then use replace. anyhow that variable could be useful to some.. (?)
« Last Edit: June 09, 2009, 06:20:55 pm by ILoveMovies »

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #7 on: June 09, 2009, 06:49:56 pm »
-You can only replace things currently. So you could replace "D:\" with "" simulating relative path creation for this particular case.
-Configure the export plugin not to do this.
-I think you are grouping movies instead of filtering. Filters or Quick search are found on the toolbar right after all the standard buttons.

that works neat.


for problem -d- (PVD hangs): I dont know what excatly it is. It also just happend after I entered the main menu. It seems it is a GUI or buffer issue as the menu stayed in front of all other windows from then on. Also, I could not switch to another program using the taskbar, every symbol on the bar started blinking when I tried to select it. It must be PVD related as it only happens while PVD is on, and PVD is the one that hung up. Any Idea?

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #8 on: June 09, 2009, 07:23:02 pm »
Was a plugin running when it happened? What did you do right before the program friezed?
What is your PC configuration? Operating system?
Could you start PVD with -debug command line parameter and post the log.txt file generated in application folder?
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #9 on: June 09, 2009, 08:21:21 pm »
Was a plugin running when it happened? What did you do right before the program friezed?
What is your PC configuration? Operating system?
Could you start PVD with -debug command line parameter and post the log.txt file generated in application folder?

It happened again. I cannot reproduce exactly the same, but suddenly it hangs, after i used the menu. This Time I intended to go to preferences, and it did not react..
What I just found out, not sure if it has to do with the issue, is that just by moving the mouse over the menu point Tools-Websearch, it loads the corresponding page in my browser. I do not even have to click on websearch in the menu.

here my log, but it did not track anything at 21:12 (the time PVC hung up). The exports at the end of the log are my M3U-exports which went fine:

Code: [Select]
(09.06.2009 21:05:42) PVD Version: 0.9.9.10
(09.06.2009 21:05:42) OS: Windows XP or .NET server (Build 2600: Service Pack 3)
(09.06.2009 21:05:42) Plugin loaded: allcdcovers.dll 0.1.0.4
(09.06.2009 21:05:42) Plugin loaded: amazon.dll 0.4.3.4
(09.06.2009 21:05:42) Plugin loaded: amazonde.dll 0.1.1.4
(09.06.2009 21:05:42) Plugin loaded: amazonfr.dll 0.1.0.1
(09.06.2009 21:05:42) Plugin loaded: amazonuk.dll 0.1.0.1
(09.06.2009 21:05:42) Plugin loaded: amc.dll 0.3.1.0
(09.06.2009 21:05:42) Plugin loaded: animenfo.dll 0.1.0.2
(09.06.2009 21:05:42) Plugin loaded: csvimp.dll 0.1.2.0
(09.06.2009 21:05:42) Plugin loaded: faffes.dll 0.2.4.2
(09.06.2009 21:05:42) Plugin loaded: filmup.dll 0.1.1.2
(09.06.2009 21:05:42) Plugin loaded: filmup_people.dll 0.1.1.3
(09.06.2009 21:05:42) Plugin loaded: filmup_poster.dll 0.1.1.2
(09.06.2009 21:05:42) Plugin loaded: imdb.dll 0.8.9.1
(09.06.2009 21:05:42) Plugin loaded: imdb_people.dll 0.2.2.0
(09.06.2009 21:05:42) Plugin loaded: impawards.dll 0.1.4.0
(09.06.2009 21:05:42) Plugin loaded: moviemeter.dll 0.1.3.6
(09.06.2009 21:05:42) Plugin loaded: msexcel.dll 0.4.0.0
(09.06.2009 21:05:42) Plugin loaded: ofdb.dll 0.4.1.0
(09.06.2009 21:05:42) Plugin loaded: ofdb_people.dll 0.1.1.4
(09.06.2009 21:05:42) Plugin loaded: plainexp.dll 0.5.8.1
(09.06.2009 21:05:42) Plugin loaded: pvdtotray.dll 0.1.0.1
(09.06.2009 21:05:42) Plugin loaded: scriptint.dll 0.2.4.0
(09.06.2009 21:05:42) Plugin loaded: tvdb.dll 0.1.0.1
(09.06.2009 21:05:42) Plugin loaded: twittpvd.dll 0.1.0.0
(09.06.2009 21:05:42) Plugin loaded: valueconvert.dll 0.1.0.1
(09.06.2009 21:05:42) Compiling script: adultdvdempire.psf
(09.06.2009 21:05:42) Script compiled successfully: adultdvdempire.psf
(09.06.2009 21:05:42) Executing script binary
(09.06.2009 21:05:42) Compiling script: allmovie.psf
(09.06.2009 21:05:42) Script compiled successfully: allmovie.psf
(09.06.2009 21:05:42) Executing script binary
(09.06.2009 21:05:42) Compiling script: animator.ru.psf
(09.06.2009 21:05:42) Script compiled successfully: animator.ru.psf
[Hint] (313:3): Variable 'DIGITS' never used
[Hint] (446:3): Variable 'SELECTEDURL' never used
[Hint] (447:3): Variable 'POS2' never used
[Hint] (447:3): Variable 'I' never used
[Warning] (551:16): "True and" is not needed
[Warning] (582:15): Calculation always evaluates to True
[Warning] (615:15): Calculation always evaluates to True
[Hint] (545:3): Variable 'FILMTYPE' never used
[Hint] (545:3): Variable 'ACTORS' never used
[Hint] (545:3): Variable 'CREATORS' never used
[Hint] (547:3): Variable 'POS2' never used
[Hint] (547:3): Variable 'LEN' never used
(09.06.2009 21:05:42) Executing script binary
(09.06.2009 21:05:42) Compiling script: anime.psf
(09.06.2009 21:05:42) Script compiled successfully: anime.psf
[Hint] (189:2): Variable 'CURPOS' never used
[Hint] (189:2): Variable 'ENDPOS' never used
[Hint] (190:2): Variable 'NAME' never used
[Hint] (190:2): Variable 'URL' never used
(09.06.2009 21:05:42) Executing script binary
(09.06.2009 21:05:42) Compiling script: beyazperde.psf
(09.06.2009 21:05:43) Script compiled successfully: beyazperde.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: kino-teatr.ru.psf
(09.06.2009 21:05:43) Script compiled successfully: kino-teatr.ru.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: kinopoisk.psf
(09.06.2009 21:05:43) Script compiled successfully: kinopoisk.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: kinopoisk_person.psf
(09.06.2009 21:05:43) Script compiled successfully: kinopoisk_person.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: kinopoisk_poster.psf
(09.06.2009 21:05:43) Script compiled successfully: kinopoisk_poster.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: txtinfo_en.psf
(09.06.2009 21:05:43) Script compiled successfully: txtinfo_en.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: txtinfo_ru.psf
(09.06.2009 21:05:43) Script compiled successfully: txtinfo_ru.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: worldart.psf
(09.06.2009 21:05:43) Script compiled successfully: worldart.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: worldart_person.psf
(09.06.2009 21:05:43) Script compiled successfully: worldart_person.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Compiling script: zelluloid.psf
(09.06.2009 21:05:43) Script compiled successfully: zelluloid.psf
(09.06.2009 21:05:43) Executing script binary
(09.06.2009 21:05:43) Script loaded: adultdvdempire.psf 0.1.0.5
(09.06.2009 21:05:43) Script loaded: allmovie.psf 0.1.0.4
(09.06.2009 21:05:43) Script loaded: animator.ru.psf 0.1.0.0
(09.06.2009 21:05:43) Script loaded: anime.psf 0.1.0.0
(09.06.2009 21:05:43) Script loaded: beyazperde.psf 0.1.0.0
(09.06.2009 21:05:43) Script loaded: kino-teatr.ru.psf 0.0.0.1
(09.06.2009 21:05:43) Script loaded: kinopoisk.psf 1.0.6.0
(09.06.2009 21:05:43) Script loaded: kinopoisk_person.psf 0.1.0.3
(09.06.2009 21:05:43) Script loaded: kinopoisk_poster.psf 0.2.1.0
(09.06.2009 21:05:43) Script loaded: txtinfo_en.psf 0.1.0.0
(09.06.2009 21:05:43) Script loaded: txtinfo_ru.psf 0.1.0.0
(09.06.2009 21:05:43) Script loaded: worldart.psf 0.1.5.0
(09.06.2009 21:05:43) Script loaded: worldart_person.psf 0.1.3.2
(09.06.2009 21:05:43) Script loaded: zelluloid.psf 0.1.0.1
(09.06.2009 21:05:43) Loading database: D:\Dokumente und Einstellungen\xxxx\Eigene Dateien\Personal Video Database\movies.pvd
(09.06.2009 21:07:17) Exporting records... 0 of 2 done
(09.06.2009 21:07:17) Exporting records... 1 of 2 done
(09.06.2009 21:07:27) Exporting records... 0 of 2 done
(09.06.2009 21:07:27) Exporting records... 1 of 2 done
(09.06.2009 21:07:31) Exporting records... 0 of 2 done
(09.06.2009 21:07:31) Exporting records... 1 of 2 done
(09.06.2009 21:08:02) Exporting records... 0 of 2 done
(09.06.2009 21:08:02) Exporting records... 1 of 2 done
(09.06.2009 21:08:16) Exporting records... 0 of 3 done
(09.06.2009 21:08:16) Exporting records... 1 of 3 done
(09.06.2009 21:08:16) Exporting records... 2 of 3 done
(09.06.2009 21:08:55) Exporting records... 0 of 3 done
(09.06.2009 21:08:55) Exporting records... 1 of 3 done
(09.06.2009 21:08:55) Exporting records... 2 of 3 done
(09.06.2009 21:09:06) Exporting records... 0 of 3 done
(09.06.2009 21:09:06) Exporting records... 1 of 3 done
(09.06.2009 21:09:06) Exporting records... 2 of 3 done
« Last Edit: June 09, 2009, 08:26:28 pm by ILoveMovies »

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #10 on: June 09, 2009, 09:34:31 pm »
Quote
a) using {%value=path} gives the full path including file. How do I get the path w/o file?

There is no easy way of doing this in PVD. I could add such functionality to the export plugin in future.

hmm I have other issues with the path variable. If the movie contains more than one path, e.g. VOB files or sth, all paths will be displayed behind each other, seperated with a |. That won't work in my case. would be great if sometime there can be a possibility to choose between some more path and file variables, also to grab the different file paths and store each in another variable. what do u think? Anyhow, I can use replace and #13#10 to fix that for me currently.
But in the end I need a path to the folder, not the file..
 
Also I found that when importing Video_TS-folders, I can checkmark the VOB's I want, but in the  File path all from the Directory get included. What is the selection for, and can I choose to add only that ones to the file path?


Sorry for this many questions, I hope you don't mind  :o

regards, ilm
« Last Edit: June 09, 2009, 11:41:24 pm by ILoveMovies »

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #11 on: June 19, 2009, 07:47:11 pm »
Quote
a) using {%value=path} gives the full path including file. How do I get the path w/o file?

There is no easy way of doing this in PVD. I could add such functionality to the export plugin in future.


Hi again, nostra.
Is there a possibility that you can add functionality to the export plugin?

I need a path1, path2, ..., pathn variable - for the different paths that exist when the movie is stored in more than one folder. With the currently available variable path it writes all paths behind each other.

Most important: Each path variable has to be without the filename.
=> That would result in the 2nd addition: the filename variable (or better: filename1, filename2 ,...)

I found out if I would have such export variables, I could use PVD-exported playlists in conjuntion with my PS3 Media Server, that would be great!

Any idea in which version u could maybe implement this, maybe it's easily done?



Thank you very much for this great program!
yours, ILM

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #12 on: June 19, 2009, 08:49:22 pm »
Quote
I need a path1, path2, ..., pathn  variable - for the different paths that exist when the movie is stored in more than one folder. With the currently available variable path it writes all paths behind each other.

You can have separate paths (with file names) by doing the following:
1. In main template
Code: [Select]
{%value=path params="full" template="pages\files.ptm"}2. In files.ptm you write
Code: [Select]
{%value}

Quote
Any idea in which version u could maybe implement this, maybe it's easily done?

In the next version of the plugin. I have no idea when will it be ready.
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #13 on: June 19, 2009, 09:49:35 pm »
thanks for the hint.

Looking forward to the new plugin version.




cheers

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Admin rights, Playlists and more Qs
« Reply #14 on: June 26, 2009, 02:57:09 am »
I have introduced a new concept in the export plugin version 0.6.0.0: functions
Usage: {#FUNCTION_NAME 'PARAMETER_1' 'PARAMETER_2' ... 'PARAMETER_N'}

Available functions:
Code: [Select]
ExtractFilePath
ExtractFileName
ExtractFileExt
These function only accept one parameter.

Code: [Select]
ConditionAdd
ConditionAddFirst

Parameter1: operator [=, <, >, <>]
Parameter2: value1
Parameter3: value2
Parameter4: string to add

Also you can define exporting in UTF8 with BOM like this:
Code: [Select]
encoding="UTF8BOM"and without BOM like this
Code: [Select]
encoding="UTF8"
Gentlemen, you can’t fight in here! This is the War Room!

Offline ILoveMovies

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Admin rights, Playlists and more Qs
« Reply #15 on: July 03, 2009, 09:39:41 pm »
Hey Nostra,
this is great. I will immediately try it.

Thanks for the excellent support!

Grüße ILM

 

anything