Add videos *from list*

All about the program
User avatar
Ozelui
Posts: 46
Joined: 09 Jan 2020, 01:10

12 Jan 2020, 23:01

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

13 Jan 2020, 13:43

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

14 Jan 2020, 21:49

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?
User avatar
Ozelui
Posts: 46
Joined: 09 Jan 2020, 01:10

14 Jan 2020, 21:59

Perfect! Great!

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

Thank you for your support!
User avatar
admin
Site Admin
Posts: 928
Joined: 03 Jun 2014, 22:14

14 Jan 2020, 22:05

I am still in progress, will post later.
bastage
Posts: 24
Joined: 05 Jun 2016, 02:26

14 Jan 2020, 22:26

Agreed -- good stuff .. very excited to see it implemented.
User avatar
admin
Site Admin
Posts: 928
Joined: 03 Jun 2014, 22:14

16 Jan 2020, 13:12

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.
User avatar
Ozelui
Posts: 46
Joined: 09 Jan 2020, 01:10

16 Jan 2020, 13:52

Great, more friendly, good idea.
mihalvld
Posts: 14
Joined: 09 Mar 2019, 14:08

30 Jan 2020, 10:58

Please add <ImagesFolderPath> to add all images from selected folder.
User avatar
admin
Site Admin
Posts: 928
Joined: 03 Jun 2014, 22:14

04 Feb 2020, 22:24

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.
Post Reply