Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 ...7  Previous   Next
Can this be done?...
Author Message
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Hey all... ok... first off let me say I am completely new to playing with the layouts... and no experience at all in creating skins in the old version and all... so consider me a complete newbie for this...

I had the idea of creating a new tab to go along with General Info for my html episode guides... so I would have like...

General Info | Overview |  Discs | Easter Eggs | Notes | Episode Guide

Is this at all possible? because what I would be making is basically another Notes field and need a place to enter the info for each profile that has an episode guide. so I have to ask...

1. Is this possible to have both a notes tab and a Episode Guide tab and a place to edit it for each profile.
2. I doubt this... but would it be possible to have the Episode Guide tab show up only for the profiles that would need it?

any thoughts?
Pete
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
Quote:
I had the idea of creating a new tab to go along with General Info for my html episode guides... so I would have like...

General Info | Overview |  Discs | Easter Eggs | Notes | Episode Guide

Is this at all possible?

Yes, this is possible. In fact, I have just that, well, not exactly, but I did add another tab next to my General tab where I keep some links (Contribution Notes and Contributors).
Quote:
because what I would be making is basically another Notes field and need a place to enter the info for each profile that has an episode guide. so I have to ask...

Just to make sure: You can not have another Notes field, that will be editable right within DVD Profiler. The Episode Guide tab would have to load data from outside, best being html files. I believe you have those html files already, at least some, as I remember you created some that you would call from the Notes field in 2.4/2.5 with a link(?).

The great thing about the HTML wiondows is, that a lot iof DVD Profiler information is available through variables, although I believe you'd have to use JavaScript to use them. Downside would also be, that that information could probably not be used for phpdvdprofiler (but only Fred will know the answer, in a short while...)
Quote:
1. Is this possible to have both a notes tab and a Episode Guide tab and a place to edit it for each profile.

Yes, limitation mentioned above.
Quote:
2. I doubt this... but would it be possible to have the Episode Guide tab show up only for the profiles that would need it?

I highly doubt that.

Hope I could help a little.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
yes... it is good to know it is somewhat possible. Unfortunately I know nothing about java... so I have to see what I can figure... hopefully with some more help here.

Thanks Achim
Pete
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
The biggest problem is, that you cannot verify if the external html file exists.

I wrote something:
Quote:
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->

function showEPG()
{
var epg = ("C:/epg/epg-" + DP_UPC + ".html");
document.write("<iframe SRC='" + epg + "' width='100%' height='100%'></iframe>");
}
</SCRIPT>
<style type="text/css">
<!--
body { margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</HEAD>
<BODY onload="showEPG()">
</BODY>
</HTML>

This script looks for an HTML file with a filename epg-UPC.html . If this file exists, it shows an IFrame with the content of the html file. But if the file does not exist, it shows an Iframe with the "Page cannot be displayed" error.
But hey, it works:


EDIT: I've switched form DP_Title to DP_UPC because the colon in some titles causes an invalid filename...

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
 Last edited: by SH84
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Thanks... I copied it in.. and I get the IFrame... I fixed the location to where I keep my epgs... but it will not load. I thought that part of the problem is windows not allowing me to use a : in the file name for the files... so I changed the name of one of my sets so there is no colon between show name and season indicator to see if that would help.. but it still didn't show up.

I just get an IFrame with the page cannot be displayed message in it.
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
just seen your edit... let me try that.
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
OK... it is still not working... do you see anything I may have wrong?

Quote:
    <HTML>
    <HEAD>
    <SCRIPT TYPE="text/javascript">
    <!--
    <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
    //-->

    function showEPG()
    {
    var epg = ("C:/Documents and Settings/Pete/Application Data/DVD Profiler/epg-" + DP_UPC + ".html");
    document.write("<iframe SRC='" + epg + "' width='100%' height='100%'></iframe>");
    }
    </SCRIPT>
    <style type="text/css">
    <!--
    body { margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }
    -->
    </style>
    </HEAD>
    <BODY onload="showEPG()">
    </BODY>
    </HTML>
Pete
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I got rid of the Iframe:


No white borders anymore!

Quote:
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->

function showEPG()
{
var epg = ("C:/epg/epg-" + DP_UPC + ".html");
window.location.href= epg ;
}
</SCRIPT>
</HEAD>
<BODY onload="showEPG()">
</BODY>
</HTML>

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Very Cool... I didn't like that IFrame!
Do you see any reason it isn't working for me?
Pete
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Do you have the html file there? You need a file with the EPG data there. Eg. epg-4010232008251.5.html for my Simpsons Profile, 4010232008251 is the UPC and .5 the country-indicator for a German profile.

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
yes the html file is there... different UPC since I am Region 1 US... so it is just the UPC number no country indicator.
Pete
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
If you click with your right mouse button into the window with the error message and choose "Properties", look at the address, it looks like "res://C:\WINDOWS\System32\shdoclc.dll/dnserror.htm#file://C:\Dokumente und Einstellungen\Thomas\Anwendungsdaten\DVD Profiler\epg\epg-4011976834182.5.html"
The bold part is the path and the filename you need.
Copy your EPG data into this file and it should work.

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Your path is correct, it should work 

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
If you use DP_ProgramPathImages you could place the EPGs in a subfolder to the Images folder.

I think it should be:
var epg = (DP_ProgramPathImages + "epg/epg-" + DP_UPC + ".html");

A location I'd personally prefer, as it will be included in my backups.


Storing the EPGs sound a bit messy though (not that I see a better solution). I think I will want to keep a external Master HTML file, where I link to the EPGs, so that I can find them easier. If there are many numbered files, how to you find a specific one to edit it....

Good job, Thomas! I think I will use that too!
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
only problem with that is that whenever you click to clean out your unused cover images won't it also remove the epg file?
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting SH84:
Quote:
Do you have the html file there? You need a file with the EPG data there. Eg. epg-4010232008251.5.html for my Simpsons Profile, 4010232008251 is the UPC and .5 the country-indicator for a German profile.


I see... i didn't have epg-upccode that must be it... let me try.
Pete
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 ...7  Previous   Next