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 4 ...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,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
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.


That did it! 
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
Quoting Addicted2DVD:
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?

That's why I have an extra directory .

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
Quoting Addicted2DVD:
Quote:
Quoting Addicted2DVD:
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.


That did it! 

Glad to hear.

The next step could be an Internet archive with all EPGs and than you could add a page for all profiles without one.

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,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
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?

No, not IN the images folder itself, just in the same subfolder you have now

\Images\epg

That is why my var statement still has two "epg" in it:
var epg = (DP_ProgramPathImages + "epg/epg-" + DP_UPC + ".html");
the first one for the subfolder, the second one the beginning of the filename (although I won't be using that).

In that location they never got wiped away when I was using 2.5 and I don't expect that to happen now...
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting SH84:
Quote:
The next step could be an Internet archive with all EPGs and than you could add a page for all profiles without one.

You mean like this? (also found in Pete's signature)

Of course, they are not named with the UPC there...

Or did you mean an online archive which could be linked to...? Oh, the bandwidth...
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,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
ok... either way it works now... I am happy!     

Thanks Again for making it!

BTW.. an archive for the episode guides?... ajm already hosts a site with them all... see the link in my signature (right under my name).
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
Yes I know this site, but you have to download the zip and edit the EPGs (most of them) ...

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
yeah... I find I edit a lot of them anyway... not everyone keeps them in the same folder.. and plus tastes differ so some of them I edit the content slightly as well. but that is to be expected... different tastes... different locations for files.
Pete
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
SH84, do you know I could test if a file was found?

I want to check that first and then display "No EPG found." rather than the "This program cannot display the webpage" page.

I tried testing for epg='' and epg=null, but that didn't work. I could google for it, but you seem to know this stuff...
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,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Hmmmm... just a small idea... and don't know if this is even possible. For the ones profiles you don't have yet/or movie profiles where there couldn't be one... instead of the This Page Can Not Be Displayed error... would it at all me possible to have some sort of default... something real simple like an html that says No Episode Guide Currently Available

Thoughts?... is it even possible to do?
Pete
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
SH84, do you know I could test if a file was found?

I want to check that first and then display "No EPG found." rather than the "This program cannot display the webpage" page.

I tried testing for epg='' and epg=null, but that didn't work. I could google for it, but you seem to know this stuff...


LOL... guess great minds think alike! 
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 have an idea... Just wait a minute (or two...).

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
Okay, I've found a partial solution:
Quote:
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->

function showEPG()
{
var epg = ("C:/Dokumente und Einstellungen/Thomas/Anwendungsdaten/DVD Profiler/epg/epg-" + DP_UPC + ".html");
var notes = DP_Notes.indexOf("epg=1");
if (notes != -1) {
window.location.href= epg ;
}
else {
document.write("no EPG!");
}
}
</SCRIPT>
</HEAD>
<BODY onload="showEPG()">
</BODY>
</HTML>

How does it work?
It looks for the string "epg=1" in the notes-field.
If the string is not found, it displays "no EPG!" (but it could be changed to e.g. an HTML site with more text).
If there is such a string in the notes field, it changes to the EPG site...

PS: If you have HTML notes, you can use "<epg=1>", it does the same, but is invisible.

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,308
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
ok... I tried this... no good for my purposes... because as I do the epg field... I remove it from notes so it wouldn't exist any more and it does not let my epg field show the epg any longer.

Or am I misunderstanding what to do here? all I know is all of them got no epg in the field now. 
Pete
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting SH84:
Quote:
Okay, I've found a partial solution:

Well, it works. This is a good and easy solution.

Edit:
Removed my useless thought.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
 Last edited: by nuoyaxin
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,432
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
Quote:
ok... I tried this... no good for my purposes... because as I do the epg field... I remove it from notes so it wouldn't exist any more and it does not let my epg field show the epg any longer.

Or am I misunderstanding what to do here? all I know is all of them got no epg in the field now. 

All you are supposed to leave in the Notes field is
Quote:
<epg=1>

(The brackets will make it invisible.)
Basically you could write whatever you want in teh brackets and then replace the part in the indexOf accordingly.

The EPG itself can be removed from the Notes.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4 ...7  Previous   Next