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 - rick.ca

Pages: 1 ... 109 110 111 112 113 [114] 115 116 117 118
2261
Scripts and Templates / Re: Exporting Episode Variations
« on: November 02, 2008, 02:38:05 am »
Sorry, it's not possible. See Exporting Episodes.

2262
Development / Re: PK's MovieDB dynamic website template
« on: October 29, 2008, 08:51:48 pm »
Quote
Seems you already figured out how to enable/disable the side panels in mdb_confic.inc.

Disabling side panels may not be a good idea, although I suppose the cause of this may be something else... If a link is selected in details, that search will be executed, but then there is no way to clear it (e.g., selecting "All Movies" does nothing—the search terms stay in the URL).

2263
Support / Re: Scan folders/file scanner confusion
« on: October 29, 2008, 07:35:34 pm »
Ouch! Sorry to hear that. :'(

You don't want to hear this, but for my own sake I need to repeat my mantra: "All my backup routines shall be automated, multi-versioned and otherwise idiot-proof. The biggest risk to my data is ME!"

2264
Feature Suggestions / Re: Easier TV episode management
« on: October 25, 2008, 01:32:35 am »
Nested within series, I hope. Many actors have been in hundreds of episodes.

2265
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 23, 2008, 09:56:19 pm »
Quote
Under IE you could always try without the "file:///" protocol part (just remove it in M5 and O4). The link would become only the file path without the protocol. That won't work under Firefox but IE would understand it. Might get better results.

It doesn't work with that change either. It seems Kroozbox still adds the "file:///" (according to the appearance of the link in the status bar). I appreciate your help in trying to resolve this, but I'm the wrong person to test it in IE. I detest it to a degree that I'm probably totally blind to problems on my end. At least I learnt something about the security structure of Firefox. A simple explanation I came across was:

Mozilla employs a strict security model which distinguishes between "chrome" (components of your browser, accessible by chrome://-URLs), "local" (files on your machine, i.e. accessible by file://-links) and outside. "chrome" can access everything, "local" can access everything but "chrome", outside content can only access outside content.

While I still don't understand exactly what's going on, this suggests to me why a link (local?) won't work, but the same string entered in the location bar (chrome) will. Maybe Firefox sees my hard drive as "local" and my external drive as "outside," explaining that issue as well.

2266
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 22, 2008, 11:31:32 pm »
No, links to files on R: do not work. Links to files on E: do work. I tried the same in IE, and both work. So it seems the problem is with Firefox. I tried Firefox in safemode—same result. I can't see anything in my configuration settings that would cause this. I suppose this might have something to do with the fact E: is a hard drive partition, and R: is a USB drive partition—but I can't imagine what.

This is so weird, I'm almost willing to use Kroozbox with IE. Oh, but wait... While the HTML file links work fine, the identical Kroozbox links do nothing in IE! I haven't tried all possibilities (just wrapMediaInASX=false with file:\\\), but I need to take a break before my head explodes... ???

2267
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 22, 2008, 09:23:15 pm »
YES! It works. Sort of. Sometimes. :-\

With wrapMediaInASX=false and using file:///, it works—sometimes. I have video on drives E:, L: and R:. It works only for files on E:. Files on other drives result in page load errors like Firefox can't find the file at /R:/Movies/Fight Club (1999) 8.7 #26.avi. (It looks like the leading "/" is the problem.) Using &media=, the file is "downloaded."

With wrapMediaInASX=true and using file:/// results in the same page load error, regardless of the file location. Using &media=, nothing happens for files on E:. Files on other drives result in errors like The requested media file cannot be found (adjust 'dbaseMediaRoot' and/or 'localMediaRoot' properties: R:\Movies\Fight Club (1999) 8.7.

Quote
I get strange behavior with VLC where it takes up to a minute to start the link playing (nice with WMP) but that's probably my config.

I haven't been using VLC (my default player is J River Media Center), but I wonder if that delay might be because the file is downloading. I've seen this with MS Media Player—it starts up and looks like its going to play a file normally, but its actually downloading the file in the background.

Quote
Rick.ca... are you from Canada (.ca)?

You've blown my cover! Here I had everyone believing I was Rick from Casablanca. Yes—Victoria. Now I'll have to find another avatar that conveys "crazy man on an island in the pacific." ;)

2268
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 22, 2008, 03:28:48 am »
Quote
I'm suspecting that the ":" is confusing VLC since it is also a port separator.

From the behaviour I've seen, I don't think the issue extends beyond Firefox, but I'll give this a try...

Nope. I may be wrong, but after trying it all sorts of different ways in Firefox, Opera and IE, and with different media players, I'm convinced this is not going to work the way you're trying to make it work. The closest I got to seeing anything working was (1) the file being "downloaded" and played from the temp directory or browser cache, or (2) the media player being launched immediately, but not being passed a valid file path.

I wonder if you're insisting the browser send the link selection back to Kroozbox, so Kroozbox can issue a command to play the file referred to in the link. Isn't there a way to make a plain file:\\\ link for the browser to use directly? In other words, like the <a href="file:///E:\Viewed\Barbarian Invasions (2003) 7.8.avi">Text Link</a> I mentioned before—the file:/// modification, but also somehow preventing the uuencoding. I understand that's what you were trying to do with the ASX wrapper, but is there not a more direct way? Yes, I know, I'm reaching for straws... ::)

To repeat my previous experiment—because I've changed so many things since trying it last—if I save <a href="file:///E:\Video\Elite Squad (2007) 8.1 Disc 1.avi">Text Link</a> in a HTML file, selecting the link produces file:///E:/Video/Elite%20Squad%20(2007)%208.1%20Disc%201.avi, which launches in my media player. The Froozbox link source is <a href="file:///E%3a%2fVideo%2fElite%20Squad%20%282007%29%208%2e1%20Disc%201%2eavi"..., which produces file:///E%3a%2fVideo%2fElite%20Squad%20%282007%29%208%2e1%20Disc%201%2eavi, which does nothing. So the problem seems to be the path is uuencoded in the source.

2269
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 21, 2008, 01:52:34 am »
With wrapMediaInASX = false, the file is "downloaded" to C:\TEMP\&media=E__Viewed_Barbarian Invasions (2003) 7.8.avi, and then that is played.

With wrapMediaInASX = true, the current tab reloads (it seems), but nothing happens. The link appears in my status bar as http://my-ip:8008/&media=E:/Viewed/Barbarian Invasions (2003) 7.8.avi.asx. I don't see any sign of such an ASX file being created. If I copy the link location, I get http://my-ip:8008/&media=E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi%2easx which suggests to me the uuencoding issue is still in play. Files for multi-part movies still appear as separate links—each link just has the ".asx" appended.

The behaviour with the file:/// change is the same as before.

The selection highlighting is nice. ;)

2270
Feature Suggestions / Re: Vote: Features for 0.9.9
« on: October 19, 2008, 10:20:18 pm »
Quote
Printing     - 2 (3.2%)

I'm feeling a little sad for this feature. What, exactly, did you (nostra) have in mind, considering you've already provided for the export of HTML reports (which can then be printed)?

There's more interest in this now, but I'm still not sure what users think they want when they ask for "printing." Print what? A screen shot? The movie list? The details of the selected movie? Or is a full-featured report generator expected?

2271
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 18, 2008, 01:28:12 am »
Quote
But its working fine on my machine - what's the error?

Just to be clear—I'm not talking about Froozbox now, just general behaviour in Firefox... When my file:///... examples are entered manually, the first one works and the second doesn't. A new tab is opened, but nothing happens. There's no error.

To test how such links work in Firefox, I created a HTML file with three links:

Code: [Select]
<a href="file:///E:\Viewed\Barbarian%20Invasions%20(2003)%207.8.avi">Word Link</a>
<a href="file:///E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi">Kroozbox Link</a>
<a href="file:///E:\Viewed\Barbarian Invasions (2003) 7.8.avi">Text Link</a>

I made the first one by creating and saving a hyperlink in a Word document. It works fine. The second is copied from the Froozbox page source. It doesn't work (nothing at all happens—not even a new tab opened). Pondering what Word did, I thought "why bother," and made the third "plain text" link. It works fine too. So it looks like the issue has something to do with the UUencoding of the link.

BTW, my testing also seems to indicate the use of Policy Manager has no effect on local file access. ::)

Quote
I'll send you my modified code with ASX wrapping and see what happens.

Maybe that's what's going to be required to handle multiple files anyway. They currently appear as separate links.

2272
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 09:57:21 pm »
What timing! When I got your post, I had M-5.html and O-4.html open for editing. And I would have thought your change would do it, but...

As displayed in my status bar, the link seems to be okay: e.g., file:///E:/Viewed/Barbarian Invasions (2003) 7.8.avi.

If I click on it, or copy link location, however, it does this: file:///E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi, which, of course, doesn't work.

Quote
You will see that the links themselves works if you manually enter the media URL in the "open" option...

So, yes, I now understand there's a difference between entering it "manually" and using the link. And that reminds me I have another issue to deal with—Firefox blocks links to local files. I've installed the Policy Manager add-on as a means to allow it for Froozbox.

Quote
I have fix the "active" link behavior so you can now see much better what is your current link selection.

Great. I'm sure others will appreciate not having to implement my solution. :D

2273
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 07:20:40 pm »
Quote
Can you find me a link (on the internet) pointing to a video that would launch your media player like you want?

http://911myths.com/wtc7moresmoke.avi launches in my media player. This is not a link, just something found in my browser history. But I can make it a LINK, and that does the same thing. Remember, I'm near clueless about TCP/IP. All I'm saying is if I enter the complete pathname of a media file in my location bar (which seems to be the equivalent of File - Open), it will be launched in my media player. That may be unique to my configuration of Firefox and my system—I don't know. Perhaps what I should be asking for is the use of the local file URL scheme (i.e., file:\\\moviepath/filename.avi). And I'm not suggesting there's anything wrong with Froozbox—I imagine this would be a user-modification or (preferably) a configuration option for running it in a browser. 

2274
Development / Re: Sql dump from PVD
« on: October 17, 2008, 01:24:00 am »
Quote
The replace function is indeed case sensitive now, but I can change this behavior easily.

I'm sure if I were using this regularly, I would find occasion to want it both ways. Can you add an option, or provide two separate functions?

2275
Development / Re: Template Option "Replace"
« on: October 17, 2008, 01:17:09 am »
Thanks!

2276
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 12:51:50 am »
Nice documentation! And now I can see the search boxes from 10 feet. ;)

I think there are just two issues in the way of Kroozbox being usable (i.e., operated at a distance with a remote) when run in a browser...

First, there is no highlighting of links to indicate where the cursor/mouse is. If links would change the same way they do on mouse-hover, that would suffice. Then making the movie titles (i.e., as they appear under posters) links instead of plain text would make those visible when selected too. I don't know about the navigation icons and search boxes—is there a HTML code that changes images on selection/mouse-hover?

Second, when a media link is selected, it returns http://my.ip:8008/&media=moviepath/filename.avi, which causes the browser to "download" the file which in turn invokes a virus scanner. It seems to me, if it just returned moviepath/filename.avi, the movie would be launched in it's associated player.

In Firefox, a workaround for the first issue is to add something like the following to the Stylish extension. This is borrowed from MoreFocus style—so please don't ask me how it works :P. I was able to figure out that by changing the url-prefix variable in the second line from http to http://my ip address:8008, the style is applied only to Kroozbox (it may be too annoying for general use).

Code: [Select]
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix(http), url-prefix(file) {

/* NormalLink - hover */
*:link:hover   {
-moz-outline: 14px solid rgba(0,200,0,0.5) !important;
-moz-outline-offset: -14px !important;
/* -moz-outline-radius: 5px !important; */
}

/* FocusedElements & FocusedImages*/
:focus, :focus img {
-moz-outline: 12px solid rgba(255,255,0,0.5) !important;
-moz-outline-offset: -12px !important;
/* -moz-outline-radius: 5px !important; */
}

/* FocusedFormElements */
textarea:focus, input:focus, select:focus,button:focus, input[type="submit"]:focus
{
-moz-outline: 4px solid rgba(255,0,0,0.5) !important;
-moz-outline-offset: -2px !important;
/* -moz-outline-radius: 5px !important; */
}

/* HoveredFormElements */
textarea:hover:not(:focus), input:hover:not(:focus), select:hover:not(:focus),button:hover:not(:focus), input[type="submit"]:hover:not(:focus)
{
-moz-outline: 4px solid rgba(0,255,0,0.5) !important;
-moz-outline-offset: -2px !important;
/* -moz-outline-radius: 5px !important; */
}

/* Disables inner border in button */
*::-moz-focus-inner {border: 1px dotted transparent !important;}

}

2277
Development / Re: Sql dump from PVD
« on: October 16, 2008, 09:02:56 pm »
I have no idea, but I imagine this function ultimately uses the Firebird SQL equivalent which happens to be case sensitive. I recall having a similar question... Perhaps nostra will answer both by explaining how replace works. My interest, generally, is using it to "clean up" imported data (by exporting and re-importing)—but replace doesn't help much with these limitations.

2278
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 15, 2008, 08:23:00 pm »
Quote
I am unsure of what you want to accomplish...

So am I. It's a challenge to get my mind around what these things do and how they might be used. So I thought it might be illuminating to "try to use it under" XBMC. I wasn't able to get it working—nor was I able to understand how it might "work." Isn't the purpose of Kroozbox the same as XBMC? I could understand the idea of XBMC having a plugin to do the same thing as Kroozbox—pull data from a PVD database—but not Kroozbox "running under" XBMC.

I wonder if this is the same as me thinking Kroozbox might run (under, with?) VLC media player. Both XBMC and VLC will run web servers. But I think in both cases the only purpose is to allow them to receive remote commands—their existence should not imply any capability beyond this.

Does this make sense, or am I underestimating what something like XBMC should be able to do with a UPnP service? ???

2279
Development / Re: Sql dump from PVD
« on: October 15, 2008, 02:02:39 am »
Looks good. Nice having all those sort options too.

I notice for many movies the actors are sorted backwards (i.e., from their IMDb credits order) so the lead actors/stars do not appear as stars in the summary.

This post describes my method of renaming poster files. It's probably not as convenient as the magic you're looking for, but you could adapt it to get the job done.

2280
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 14, 2008, 01:56:04 am »
Quote
HOuuuu.. that's a tough one.

Hey, this is why I like making suggestions—I'm completely unencumbered by knowledge of how to do anything.  ;D

Quote
...unless there is something in SQL...

I believe nostra has made a similar comment about Firebird's sorting/handling of special characters, so I suspect not.


Pages: 1 ... 109 110 111 112 113 [114] 115 116 117 118