iPod Export templates not including Custom field titles

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

iPod Export templates not including Custom field titles

Post by FineWine »

The iPod Export templates are not including Custom field titles.

In my particular case after editing the template file, the entries "Co Author" and "Volume" created in Preferences - General - Custom field titles: and ticked in the Fields tab.

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>[global:sortedEntry] ([global:entriesInPage])</TITLE>
Sorted Entries for: [global:sortedEntry] ([global:entriesInPage])<!--BeginRepeat-->
[key:title] by [key:author] & [key:co author]
[key:series] [key:volume]
<!--EndRepeat-->

Any suggestions?

Also please note the terminology you use in your help file for "Exporting to your iPod" where the term "Enable Disk Use" is used, this is now replaced in iTunes 9.0.3 with "Manually manage music and videos" on the Summary page.

Cheers
marumari
Addicted to Bruji
Addicted to Bruji
Posts: 104
Joined: Thu Dec 10, 2009 10:38 am
Contact:

Re: iPod Export templates not including Custom field titles

Post by marumari »

I'm going to guess that you need to use [key:custom1] and [key:custom2]. That should do it.
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: iPod Export templates not including Custom field titles

Post by FineWine »

marumari wrote:I'm going to guess that you need to use [key:custom1] and [key:custom2]. That should do it.
AND you guessed right - what a clever person you are and why did I not think of that.

Thank you.

Seem as this template is SortedTitledAuthor I have, after much experimentation, removed the Author as that appears in the original listings so now I just have:

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>[global:sortedEntry] ([global:entriesInPage])</TITLE>
Sorted Entries for: [global:sortedEntry] ([global:entriesInPage])<!--BeginRepeat-->
[key:title]
[key:series] [key:custom2]
<!--EndRepeat-->

Thank you again
User avatar
Conor
Top Dog
Posts: 5345
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: iPod Export templates not including Custom field titles

Post by Conor »

Thank you for the heads up on the wording change by Apple, we will update our help to reflect that.
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: iPod Export templates not including Custom field titles

Post by FineWine »

OK - I have another template Custom field problem, this time in DVDpedia.

In my DVDpedia I have Custom Field 1 labeled as Bali. Then in the main Collections Library in the Bali column I place a Tick if it has been purchased in Bali.

Now I am trying to get the MySortedTitle template to place a (B) against any Library entry that was Ticked in the Bali column which is Custom1. See Template below. This is not working. Any thoughts?

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>[global:sortedEntry]</TITLE>
Sorted By [global:sortedBy]: [Global:SortedEntries] ([global:entriesInPage])
<!--BeginRepeat-->
[key:title] (B[key:custom1])
<!--EndRepeat-->
User avatar
Conor
Top Dog
Posts: 5345
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: iPod Export templates not including Custom field titles

Post by Conor »

Try the following with if statements:

Code: Select all

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>[global:sortedEntry]</TITLE>
Sorted By [global:sortedBy]: ([global:entriesInPage])
<!--BeginRepeat-->
[key:title] <!--IFcustom1 (B[key:custom1]) ENDcustom1-->
<!--EndRepeat-->
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: iPod Export templates not including Custom field titles

Post by FineWine »

Conor wrote:Try the following with if statements:

Code: Select all

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>[global:sortedEntry]</TITLE>
Sorted By [global:sortedBy]: ([global:entriesInPage])
<!--BeginRepeat-->
[key:title] <!--IFcustom1 (B[key:custom1]) ENDcustom1-->
<!--EndRepeat-->
Sorry Connor but that did not work either.

I also tried:
<!--IFcustom1 (B)[key:custom1] ENDcustom1-->

I also changed the Tick from a Mathematical symbol Unicode: 221A UTF: E2 88 9A to Miscellaneous symbol Unicode: 2714 UTF8: E2 9C 94 all to no avail.
User avatar
Conor
Top Dog
Posts: 5345
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: iPod Export templates not including Custom field titles

Post by Conor »

Could you please send me both your template file and your Database.pediadata file zipped up, so that I may test it out with the same data. Copy pasting the templates here and using any character including the check mark and miscellaneous symbol works. As you can see from the results of this file in the "Notes" folder:

Code: Select all

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<TITLE>Family Guy - The Total World Domination Collection</TITLE>
Sorted By Title: (1)

Family Guy - The Total World Domination Collection  (B✔)
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: iPod Export templates not including Custom field titles

Post by FineWine »

Conor wrote: Copy pasting the templates here and using any character including the check mark and miscellaneous symbol works.As you can see from the results of this file in the "Notes" folder:

Family Guy - The Total World Domination Collection (B✔)
You are right, it is working, sort of. I did not think to open up the actual xml file on the iPod itself. In doing so I get the correct result as you pasted above (B✔). But, and here is the thing, the iPod is not showing the (B✔) when I open up the Extras-Notes-DVD Library itself.

I will send you the Template, Database.pediadata and the iPod xml folder as well.

My iPod is a:
Generation: 5.5 (Late 2006)
Model: MA444X
Software Version 1.3

Cheers and thanks
User avatar
FineWine
Site Admin
Posts: 886
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

Re: iPod Export templates not including Custom field titles

Post by FineWine »

Ok folks, after much emailing back and forth between Conor and myself we got it 99% to work the way I wanted it too.

The problem was/is that my late 5.5 2006 generation (V9K) iPod has gremlins in it, even with a clean format and then iTunes Restore these gremlins keep appearing. The really strange thing is that the modified Bookpedia iPod Template export works great but for some unknown reason DVDpedia and iPod do not want to play together nicely.

To give you a quick synopsis: we used different Text editors, we used different XML unicode's, we used Bookpedia's templates, we rewrote from scratch different Templates, I totally trashed DVDpedia and all it's components after exporting the database to desktop re-downloaded and re-installed it etc. At every turn nothing worked until tonight. Why tonight and not the other night. Why the Template Conor sent this night (which I modifed) and not any other Templates, only the God of iPods can answer these questions.

But here is the code:

<?xml encoding="UTF8"?>
<meta name="HideAllTags" content="true">
<meta name="PageSplit" content="SortName">
<!--BeginRepeat-->
<TITLE>[global:sortedEntry] <!--IFcustom1 (B[key:custom1]) ENDcustom1--></TITLE>
<!--EndRepeat-->

Remember I wanted it to give me a Title list only and against certain entries place a (B). This (B) is picked up from the Custom1 field which has a Check Mark (✔) in it. The (B) indicates Bali purchased as I regularly go to Bali and purchase allot of DVD's there off the street vendors for 50 cents. Some are good, most are not.

Why not 100% working? Well I now have a blank second click through screen after the Title list screen but I can live with that.

I must THANK Conor every so much in helping me solve this conundrum, it was beginning to become a "hair pulling" pain. He has spent allot of time with me on this when there are more important "pedia" things to be working on.

Again THANKS Conor.
Post Reply