Page 1 of 1

XML import does not work well

Posted: 16 Sep 2024, 13:45
by tricker
Hello, i just try the free version of Videonizer just to be sure all my fav function will work. For the import, it seems possible to create automatic new tags, artists and sites but it will not work. Only Path and Title will be imported but no tags, artis or sites are created. Also if I create manually a tag or artist he did not automatically recognize both during the import. Is it because I use the free version?

Re: XML import does not work well

Posted: 16 Sep 2024, 15:01
by tricker
Seems I just found the bug... after I've changed the language from German to English import works as expected.

Update: Seems that was not the issue. Again tag and artis creation is not working.

Re: XML import does not work well

Posted: 17 Sep 2024, 19:02
by admin
Hello,

There are Option in the Export/Import windows.
Have you selected what is needed?

Can I have a sample xml file to check?

You can also find the "DB Tools" -> "Pick up known Tags, Artists and Sites" feature.

Re: XML import does not work well

Posted: 22 Sep 2024, 19:02
by tricker
Hello,

here are the XML File.

No import of Comments, Tags and Actors. Language is English.

Code: Select all

<Items>
	<VideoItem>
		<Path>C:\temp\test1.mp4</Path>
		<Comment>abcdef</Comment>
		<Rating>0</Rating>
		<CustomTitle>Test 1</CustomTitle>
		<Tags>bla</Tags>
		<Actors>John Doe</Actors>
	</VideoItem>
	<VideoItem>
		<Path>C:\temp\test2.mp4</Path>
		<Comment>ghijklm</Comment>
		<Rating>5</Rating>
		<CustomTitle>Test 2
		</CustomTitle>
		<Tags>bla2
		</Tags>
		<Actors>Johne Doen
		</Actors>
	</VideoItem>
	<VideoItem>
		<Path>C:\temp\test3.mp4</Path>
		<Comment>nopqrst</Comment>
		<Rating>5</Rating>
		<CustomTitle>Test 3</CustomTitle>
		<Tags>bla3</Tags>
		<Actors>Jonie Doe</Actors>
	</VideoItem>
</Items>

Re: XML import does not work well

Posted: 22 Sep 2024, 19:54
by admin
It looks like you have constructed your XML manually and it is partially valid.
Tags and Actors sections should look like below (even if you have only one Actor or Tag):

Code: Select all

<Tags><Tag>bla3</Tag></Tags>
<Actors><Actor>John Doe</Actor></Actors>
Here is the whole valid example for you:

Code: Select all

<Items>
	<VideoItem>
		<Path>C:\temp\test1.mp4</Path>
		<Comment>abcdef</Comment>
		<Rating>0</Rating>
		<CustomTitle>Test 1</CustomTitle>
		<Tags>
			<Tag>bla3</Tag>
		</Tags>
		<Actors>
			<Actor>John Doe</Actor>
		</Actors>
	</VideoItem>
	<VideoItem>
		<Path>C:\temp\test2.mp4</Path>
		<Comment>ghijklm</Comment>
		<Rating>5</Rating>
		<CustomTitle>Test 2</CustomTitle>
		<Tags>
			<Tag>bla2</Tag>
		</Tags>
		<Actors>
			<Actor>Johne Doen</Actor>
		</Actors>
	</VideoItem>
	<VideoItem>
		<Path>C:\temp\test3.mp4</Path>
		<Comment>nopqrst</Comment>
		<Rating>5</Rating>
		<CustomTitle>Test 3</CustomTitle>
		<Tags>
			<Tag>bla</Tag>
		</Tags>
		<Actors>
			<Actor>Jonie Doe</Actor>
		</Actors>
	</VideoItem>
</Items>
My advice is to export first if you want to see the correct structure.

Re: XML import does not work well

Posted: 23 Sep 2024, 13:37
by tricker
OK thx. I understood the issue. Now it works fine.