Page 1 of 2

Add videos *from list*

Posted: 12 Jan 2020, 23:01
by Ozelui
Hello.

I have a problem: before knowing Videonizer I had my movies collection in excel. Exporting it to csv or xml is easy and includes the fullpath, the tags (in excel were categories), the main actors and the urls for more info. However currently I think I cannot import that kind of list into Videonizer, so I don't know how to add the videos and associate its tags not manually.

My idea would be to have a button, additional to current "Add video files" and "Add video folders", something like "Add video from list", that allows to import a xml like this (self explained):

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<list>
	<movie fullpath="D\movies\the_birds.mp4">
		<tags>
			<tag name="Hitchcock's movies" />
			<tag name="Universal Pictures" />
		</tags>
		<actors>
			<actor name="Rod Taylor" />
			<actor name="Tippi Hedren" />
		</actors>
		<sites>
			<site name="https://en.wikipedia.org/wiki/The_Birds_(film)" />
			<site name="https://en.wikipedia.org/wiki/The_Birds_(film)#/media/File:The_Birds_original_poster.jpg" />
		</sites>
	</movie>
</list>

Conditions:

- If the movie already exists, the process will merge the new tags, actors and sites.
- If any of the tags, actors or sites for a movie not exist, movie is skipped or maybe (more complex to implement) the process could create it and merge to the existing ones.


Thank you!

Re: Add videos *from list*

Posted: 13 Jan 2020, 13:43
by admin
Hello,

Can't promise I will implement import/export using XML files in the next release,
but I was thinking about that feature for a while.

Thank you for detailed request.

Re: Add videos *from list*

Posted: 14 Jan 2020, 21:49
by admin
Hello,

Here is an example of "Export Video Items" feature in XML format.
It is under construction and discussable.

Code: Select all

<VideoItems>
  <VideoItem>
    <Path>C:\Video1.avi</Path>
    <Comment>Comment1</Comment>
    <Rating>3</Rating>
    <VideoTags>
      <Tag>Tag1</Tag>
      <Tag>Tag2</Tag>
    </VideoTags>
    <VideoActors>
      <Actor>Actor1</Actor>
      <Actor>Actor2</Actor>
      <Actor>Actor3</Actor>
    </VideoActors>
    <VideoSites>
      <Site>URL1</Site>
      <Site>URL2</Site>
    </VideoSites>
  </VideoItem>
  <VideoItem>
    <Path>C:\Video2.avi</Path>
    <Comment>Comment2</Comment>
    <Rating>4</Rating>
    <VideoTags>
      <Tag>Tag1</Tag>
      <Tag>Tag2</Tag>
    </VideoTags>
    <VideoActors>
      <Actor>Actor1</Actor>
      <Actor>Actor2</Actor>
    </VideoActors>
    <VideoSites>
      <Site>URL1</Site>
      <Site>URL2</Site>
    </VideoSites>
  </VideoItem>
</VideoItems>

I am going to import Items in the same format.
Will it satisfy your needs?

Re: Add videos *from list*

Posted: 14 Jan 2020, 21:59
by Ozelui
Perfect! Great!

What about the behaviour when video already exists? And when an Actor not exists?

Thank you for your support!

Re: Add videos *from list*

Posted: 14 Jan 2020, 22:05
by admin
I am still in progress, will post later.

Re: Add videos *from list*

Posted: 14 Jan 2020, 22:26
by bastage
Agreed -- good stuff .. very excited to see it implemented.

Re: Add videos *from list*

Posted: 16 Jan 2020, 13:12
by admin
Ozelui wrote:
14 Jan 2020, 21:59
What about the behaviour when video already exists? And when an Actor not exists?
Most likely I will add a dialog window with options before the Import.

Re: Add videos *from list*

Posted: 16 Jan 2020, 13:52
by Ozelui
Great, more friendly, good idea.

Re: Add videos *from list*

Posted: 30 Jan 2020, 10:58
by mihalvld
Please add <ImagesFolderPath> to add all images from selected folder.

Re: Add videos *from list*

Posted: 04 Feb 2020, 22:24
by admin
mihalvld wrote:
30 Jan 2020, 10:58
Please add <ImagesFolderPath> to add all images from selected folder.
Maybe later. New "Import Items" feature will import only concrete paths.