Posted by: nostra
« on: June 02, 2010, 05:41:52 pm »All right. This feature will probably be available in version 1.
--View: VIEW03
--DROP VIEW VIEW03;
CREATE VIEW VIEW03
(
MID,
TITLE,
PATH,
EPID,
EPNUM,
SEASON,
MID01
)
AS
SELECT
MOVIES."mid",
MOVIES."title",
MOVIES."path",
EPISODES."epid",
EPISODES."epnum",
EPISODES."season",
EPISODES."mid"
FROM
MOVIES
LEFT OUTER JOIN EPISODES ON (MOVIES."epid" = EPISODES."epid");
GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES
ON TABLE VIEW03
TO VIEW VIEW03;
(I am trying to get a trial version of Maestro working so that I can edit the database manually - At the moment it keeps on saying your machine is actively refusing the connection- probably something to do with my firewall)
The TextInfo script is described here. I don't see any connection between it and the IMDb plugin. I suppose it does, however, provide another mechanism for importing data. Why don't you give that a try?
I did that and it is ugly! Basically the 'plain view' of the database fills and looks very muddled.
The other way is using the text plugin as suggested. Obviously the program imports episodes from the imdb site. And if thats the same for importing from the text file, I would appreciate a text file with filled dummy fields so that I could see how this being done.
If (1), I would manually create the 126 episode records using New Episode (tedious, but it would only take a few minutes). I would change the filenames to include Episode title and Year, if they didn't already, and then run the file scanner to attach the files and add this information.
If (2), I would abandon the idea of recording these episodes as a series, and import them as movie records instead. Doing so allows any available information to be imported using the CSV or Excel import plugins. See this post for more about how to do this.
It is not so simple as you might think:
SELECT gen_id(gen_mid, 1) from rdb$database
INSERT INTO movies ("mid", "title", "origtitle", "year", "series") VALUES(MID, 'NewTitle', 'NewOrigTitle', 'NewYear', -1)
SELECT gen_id(gen_mid, 1) from rdb$database
SELECT gen_id(gen_epid, 1) from rdb$database
INSERT INTO episodes ("epid", "mid", "epnum", "season") VALUES(EPID, MID, EpisodeNumber, SeasonNumber)
INSERT INTO movies ("mid", "title", "origtitle", "year", "series", "epid") VALUES(MID, 'NewTitle', 'NewOrigTitle', 'NewYear', 0, EPID)
After import, select Movie - Organize files by episodes.
First of all I LOVE the program! Keep it free!
I don't know if it is a requested feature, but a method of manually assigning an episode/season to an existing movie would be very useful.