XML import does not work well

All about the program
Post Reply
tricker
Posts: 14
Joined: 16 Sep 2024, 13:39

16 Sep 2024, 13:45

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?
tricker
Posts: 14
Joined: 16 Sep 2024, 13:39

16 Sep 2024, 15:01

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.
Last edited by tricker on 16 Sep 2024, 16:52, edited 1 time in total.
User avatar
admin
Site Admin
Posts: 1419
Joined: 03 Jun 2014, 22:14

17 Sep 2024, 19:02

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.
tricker
Posts: 14
Joined: 16 Sep 2024, 13:39

22 Sep 2024, 19:02

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>
User avatar
admin
Site Admin
Posts: 1419
Joined: 03 Jun 2014, 22:14

22 Sep 2024, 19:54

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.
tricker
Posts: 14
Joined: 16 Sep 2024, 13:39

23 Sep 2024, 13:37

OK thx. I understood the issue. Now it works fine.
Post Reply