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 - raldo

Pages: 1 2 3 [4] 5 6
61
Much the same functionality already exists in the form of Silent mode.
I don't see how silent mode solves the particular challenge of separating user interaction from downloading.

It does for a subset of files, but the rest of the files need to be resolved in the manner I described in my original post...

62
I'm now in the process of adding several new movies to PVD.

This process is very slow because PVD mixes information gathering with user interaction.

My suggestion is to store ambiguities to be resolved while a large list of movies is processed. Then a dialog is presented where ambiguities are resolved.

After all ambiguities are resolved by the user, PVD uploads/scans info from the net...

(This goes for both movie metadata and posters)

63
Development / Re: Pvd locks the Firebird database...
« on: April 30, 2009, 12:04:50 am »
While the version may very well be important, your troubles may have had more to do with a bug in the recent update to 0.9.9.5, reported here. If your connection is working, leave it alone—the problem is it cannot be changed it using Connect to server.
Yup. It is still not working properly...

64
Development / Re: Pvd locks the Firebird database...
« on: April 28, 2009, 12:09:58 am »
Maybe I'll try 2.0.5 tomorrow...

Yup, The older version worked. Thanks, Rick!

I've got Maestro, PVD, and my own app all connected now...

65
Development / Re: Pvd locks the Firebird database...
« on: April 28, 2009, 12:02:44 am »

I run Firebird as a service now, but until I figured out how to use it, I ran it as an application. Doing so provided a notification tool that would allow me to see if a connection I attempted was successful. If you're not already doing that, it might help you trouble-shoot.

What version of Firebird are you using? I don't know why there would be any problem using 2.1.2, but I'm using 2.0.5—because the embedded version used by PVD is 2.0.3.

I know nothing about Maestro, but this caught my eye:

With the trial version of Firebird Maestro I was able to find the option for indicating connecting to an embedded database, and then I was able to connect just fine.

Is it possible you have Maestro configured to connect to the database via Firebird embedded, instead of the server?

I've installed 2.1.2 and I have used Maestro to connect both as an embedded client and through the server. Ditto with my own app.

Maybe I'll try 2.0.5 tomorrow...

66
Development / Re: Pvd locks the Firebird database...
« on: April 27, 2009, 09:26:10 pm »
Connect with [computer name:|ip address:]path (i.e., computer name or ip address are optional). All three ways work for me. So I don't understand why your last attempt would not work, unless...

You haven't acknowledged the possibility I've suggested several times. If PVD is connecting to your database via Firebird embedded—because that's how it was previously loaded—you have to "disconnect" by switching to another database (or by creating a new one). Then Connect to server, entering the path to your original database.
Ok, I forgot to tell you that  I've tried that...

67
Development / Re: Pvd locks the Firebird database...
« on: April 27, 2009, 08:30:27 pm »
I'm trying to open the database from within PVD using the "Connect to server" dialog.

I've tried many strings, the last one:
   dionysus:C:\Documents and Settings\Harald\My Documents\Personal Video Database\movies.pvd

Where dionysus is my computer's name. I've also tried "\\dionysus..."

When I use just the filename, a connect from another client (My plugin or maestro) fails. It looks as if embedded client is used by PVD because fbembed.dll cannot be deleted.

Are you using just the filename?

68
Development / Re: Pvd locks the Firebird database...
« on: April 27, 2009, 06:49:31 pm »
raldo, did you use the "Connect to server" function from the Main menu?
Yes, I tried that (after I realized that I need to install the beta, 0.9.9.5 beta 4).

But which string should I enter in the "Connect to Server" dialog?

I have tried the path, but then it looks as if the embedded server is still used.

localhost:<path>
<computername>:<path>

-- Both of these create an exception..

69
Development / Re: Pvd locks the Firebird database...
« on: April 26, 2009, 09:30:15 pm »
Pvd still locks the database, even if I am using the server component on my side.

I can now run MC and Firebird Maestro simultaneously as long as I use a server connection on both...

I.e. with Pvd started, a can't connect to the db neither from firebird maestro nor from my plugin.

Any suggestions?

70
Development / Re: Pvd locks the Firebird database...
« on: April 24, 2009, 12:08:07 pm »
If you need such functionality then you should install firebird server and connect to the database using the "connect to server" function.

Yes, that is one solution, but as far as I understand, a server install is hardly something a casual user would accept (with extra windows OS services etc.)?

I presume that's the reason why you use fbembed.dll too?


71
Development / Pvd locks the Firebird database...
« on: April 24, 2009, 10:08:54 am »
Hi,

In my effort to make a plugin for JRiver MediaCenter for PVD import, I have noticed that PVD locks the firebird database (.pvd)

Is it possible to change PVD so that other clients clients can be attached?

I.e. in PVD, disconnect after operations towards the DB are finished... Reconnect when new stuff must be done.

(I noticed that Firebird Maesto also locks the DB...)

72
Development / Re: SQL statement for MC Plugin
« on: April 17, 2009, 11:34:07 pm »
No—but I suppose that's not surprising. So when the credits order is lost, it will be the user's fault. That'll go over well. Are you mentioning this because you haven't figured out how to number the results? If so, then this would be when the non-programmer (me) says, "What could possibly be so difficult about numbering the results?!" ;D
Smartass :) There will be numbering.

By the way, doing some progress on the plugin. The issue I'm struggling with now is "how do you communicate between MC and PvdImport which album do you want to updated".

Mind you, several users have requested "access" to menus and right click context menus from plugins. Here's how I'll do it: I'll make a simple .exe file which passes the selected file along to the plugin. "Interprocess communication". You'll add a reference to this application using "Send to external", with [name] as an argument. As I wrote previously in the MC forums, It's cumbersome and will need instructions.

73
Development / Re: SQL statement for MC Plugin
« on: April 17, 2009, 08:04:07 am »
Did you notice that as long as you don't edit the listed fields in JRiver MC, the ordering stays as the original ordering?

74
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 10, 2009, 01:53:56 pm »
Like Rick, it seems to me that MC's approach to video metadata is certainly less than inclusive (although recent trends indicate this may change at some point)...
I gather you're talking about displaying video metadata? Yes, it's completely incomprehensible.

I wonder why they haven't released the theater view SDK yet. That would have speeded up things a little..

Quote
The way PVD refers to fields has changed since this post, but it shows how you can go about creating an mpl from PVD: http://yabb.jriver.com/interact/index.php?topic=47538.msg326313#msg326313

If the resultant MPL were in a folder that MC could pick up in auto-import? I know it's not exactly what you had in mind, but we'd be halfway there at least...

Check out this thread too (in the PVD forum): http://www.videodb.info/forum_en/index.php?topic=1238.0
In there, I outline a way of making MC import the exported playlist "automatically" and immediately. It's not a "good" method, but it works.

75
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 10, 2009, 11:56:18 am »
To use PVD as a silent web retrevial engine would just give your sister & husband the impression it doesn't work.
As I said earlier in this thread, PVD should ideally feed info/disambiguation back to MC.

I've also noted that PVD has certain rules for "cleaning up" filenames. Once you learn those rules, the results become a lot better (Example: use "(1of2)" instead of "part 1" in the filename)

76
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 10, 2009, 11:34:01 am »
Version 1.1 has to be at least a year away, so I hope you don't plan on waiting. I realize you probably want to do it your way, regardless of my opinion. But might the "simpler approach" be something like what I suggest, and still be something you can build on later? If so, you might consider a successful "phase 1" plugin might generate enough interest to make things happen faster.
I'm working on something these days, maybe you'll see something within a few weeks :)

77
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 08, 2009, 04:35:38 pm »
I think I'll just add COM server to my TODO list for 1.1. I am pretty sure that it is the most recent version I will be able to concentrate on such things like controlling PVD from another App. Please use a simpler approach until then.

Great! A com server is a more generalized solution than my proposal...

78
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 08, 2009, 11:36:56 am »
If that's the design premise, it's hard to imagine how your plugin will further the development of PVD.
Why? You could still use PVD in the way you've always used it and prune the data. And then use an MC plugin for import.

The difference would be that more people would use PVD.

79
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 07, 2009, 11:35:58 pm »
Quote
I'm interested in a system where the entire operation of metadata import can be done from MC.
I don't think the benefits that might be had using this approach would come close to outweighing the data integrity issues I raised above. I wouldn't risk messing-up my database using it, even if it worked. And I'm sure it won't. It's already enough of a challenge controlling "the entire operation of metadata import" directly from PVD.
Yes, but one could still handle data integrity issues with a seamless system. You mentioned a new MC field "DateImportedFromPVD" which could be used to block import. Or some other mechanisms could be used.

It's not just that, though: Some users may have "lesser criteria" on data. For example, some of my friends use MC but complain about the lack of metadata possibilties for movies. Or my sister imports some movies into MC and her husband has no idea what the movies are about. A description, year, director might be nice for them.

But none of them are ready for PVD in its current state.

couldn't the plugin still extract all the data temporarily to XML and import that?
Yes, that's exactly what I am saying in the above posts. Use the mechanisms that are already there. (but pass the data through UDP instead)

80
Scripts and Templates / Re: Some questions regarding export plugins...
« on: April 07, 2009, 07:38:42 pm »
If I would need existing data from PVD I would just query the PVD database directly using SQL and then put data into MC using it's API. This seems like most powerful and universal way to me.

Raldo, I don't understand your apparent reluctance to consider this may be the best solution.

Well, data retrieval is really not the issue at this point. As I've said before, I'm interested in a system where the entire operation of metadata import can be done from MC.

This also involves triggering a search for new data and resolving ambiguities in the results.

--------------

Btw, as I explained above, one issue with going directly at queries, is that one somehow has to translate a user configuration into queries via code. This mechanism already exists within Nostra's parsing language. Thus my apparent reluctance.

Pages: 1 2 3 [4] 5 6
anything