MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » General Talk


General Talk Talk about the MediaPortal TV-Server

Reply
 
Thread Tools Display Modes
Old 2007-10-09, 13:12   #11 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 7,034
Thanks: 139
Thanked 257 Times in 228 Posts

Country:

My System

Default

Being able to PULL in old TV recordings from previous installs, has been requested from as far back as i can remember, whether dvr-ms files or newer mpeg\ts.

Alway's the advice literally is change to mpeg\divx\xvid and either put it in folder Movies if a film and use imdb to get info, or if a general entertainment tv episodes use the TVseries plugin to get info.

Whichever way you do it, it means human action to get the information back for these files and not restore the old deleted database info.

Maybe a full database backup option in config would be nice as well (know there are individual backups, but if you missed one you would be pissed off), and how many times has anyone seen "unable to access database, need to create new" or something to that effect on a svn update.

I do not think anyone could easily automate this, otherwise it would have been done a long time ago.
__________________
Ray\PD

Check your codecs are fine with Filmerit.
Upload Logs\Pictures etc, use the "Go Advanced" and select the + feature to upload\attach files.
Paranoid Delusion is online now   Reply With Quote
Old 2007-10-09, 13:37   #12 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 27
Posts: 1,023
Thanks: 14
Thanked 41 Times in 37 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

Quote:
Originally Posted by Paranoid Delusion View Post
Maybe a full database backup option in config would be nice as well (know there are individual backups, but if you missed one you would be pissed off), and how many times has anyone seen "unable to access database, need to create new" or something to that effect on a svn update.
I created kind of a workaround for this issue here.

Quote:
Originally Posted by Paranoid Delusion View Post
I do not think anyone could easily automate this, otherwise it would have been done a long time ago.
This should be easy to do though. You just have to grab the "recordingFolder" out of the table "card" and import the files from this folder and import them into the "recording" table.
However there are some informations not stored while doing a recording at this moment. So NOW it would only be possible to import

1. The file location
2. The name of the recorded program
2. Original start-time of the recorded program including date
3. Genre
4. Channel Name

Missing: (This could be exported to the xml file which currently is created during a recording anyway)

1. Actual start and stop time of the recording
2. Server-ID where the show was recorded


Bottom line is: It is possible to automate this with a single click but I am no .net programmer, so this has to be done by somebody else, since I won't write an external program which cannot be integrated in MediaPortal natively. This would be double work.


-level20peon
level20peon is online now   Reply With Quote
Old 2008-02-10, 22:11   #13 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

Is this still something that people would like? If so I have just written a program that gets the meta-data from mce recorded dvr-ms files and creates an xml for gb-pvr to import. It wouldn't be too much to get this importing into mps sql database instead. The only problem I can forsee is that I am currently relying on a wealth of meta-data that mce attaches to its dvr-ms files, for other programs this may well not be the case and i'll have to get the information from elsewhere or leave it out I'll look into it though.

Let me know if anybody is interested and i'll get to work!
snakeman65 is offline   Reply With Quote
Old 2008-02-10, 23:54   #14 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 7,034
Thanks: 139
Thanked 257 Times in 228 Posts

Country:

My System

Default

Would anyone be interested.

YES THEY WOULD.

Apologies for the capitals but a easy way of reimporting old files\data back into MP has been a dream by many.

So if you think you can do it, i for one, think it would be great.
__________________
Ray\PD

Check your codecs are fine with Filmerit.
Upload Logs\Pictures etc, use the "Go Advanced" and select the + feature to upload\attach files.
Paranoid Delusion is online now   Reply With Quote
Old 2008-02-11, 00:24   #15 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

Well, I already have the .net and sql experience required. It just depends what meta-data mp needs and if the data is available. It is definately there in mce's dvr-ms recordings, as for other formats, we'll see. It may be that I either have to makeup the missing data or prompt for it. Is there any specific format you would like to see importable?

Nice to see someone enthusiastic for once! I posted my previously mentioned tool a couple of days ago to the gb-pvr forums and haven't had a single reply!
snakeman65 is offline   Reply With Quote
Old 2008-02-11, 01:53   #16 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,957
Thanks: 71
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

hey snakeman,
With the TV server method (the new TV engine v3) the recordings are stored as a .TS file but an XML file with all details is also created.

It would be excellent if you could migrate this from MCE to use for MP
Marcusb is offline   Reply With Quote
Old 2008-02-11, 05:38   #17 (permalink)
Super Moderator
 
rekenaar's Avatar
 
Join Date: Dec 2006
Location: OFS
Age: 37
Posts: 901
Thanks: 30
Thanked 41 Times in 38 Posts

Country:

My System

Default

I agree - I am also interested. Also using TV3. Good luck with the project and don't hessitate to ask when you need us to test.

Thank you.
__________________
Ondersteun Afrikaans!
******************

Rekenaar
rekenaar is offline   Reply With Quote
Old 2008-02-11, 08:40   #18 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default

Ok, I can definately do something with the ts/xml files. I'll get started this evening when I get home from work! First things first, install mediaportal!!
snakeman65 is offline   Reply With Quote
Old 2008-02-11, 17:19   #19 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default Recordings Importer 0.1

Just to prove my worth, here is the first beta of my Recordings Importer! Please bear in mind that this is a very early beta and as such has lots of things missing. It shouldn't break your system but don't blame me if it does! BACKUP your database first.

This does not yet have TS/XML Support. At present it only deals with dvr-ms, this is coming soon, very soon. It uses default content for a few of the fields (namely, the genre is "imported recordings", channel is 1, keepuntil is 0, keepuntil date is 01/01/2000 12:00:00, timeswatched is 0, idserver is 1 and stoptime is 0). Not being a longtime MP user I don't know what some of these fields do so if someone could furnish me with this information it would be most helpful. The ones i'm a little stumped on are stoptime and the values that should go into keepuntil.

Also, does mediaportal not have a subtitle/episode title function?

I have only tested this on recordings from windows media center. As dvr-ms is a standard, the meta-data *should* be the same for other programs but I don't yet know.

Let me know what you think if you do test it. This is really more to prove that I can backup my words until I actually finish the tool.

oh and BACKUP your database first

Chris
Attached Files
File Type: zip Recordings-Importer-01.zip (59.7 KB, 8 views)

Last edited by snakeman65; 2008-02-11 at 17:25.
snakeman65 is offline   Reply With Quote
Old 2008-02-12, 01:18   #20 (permalink)
Portal Member
 
snakeman65's Avatar
 
Join Date: Jan 2007
Location: Aylesbury
Age: 25
Posts: 49
Thanks: 1
Thanked 5 Times in 5 Posts

Country:

My System

Default Recordings Importer 1.0

Well, i've had a busy day! Please see attached version 1.0 of recordings importer. Now with recursive directory support and full ts/xml support.

If you have any feedback, bug reports, suggestions, improvements, etc feel free to post them in this thread. If you find the program useful, please let me know!

Also, please bear in mind that i'm an asp.net developer by trade, windows applications aint my thing, in fact, this is my first!

Oh, and backup your database before you use this!

Chris

Quote:
Originally Posted by Paranoid Delusion View Post
I do not think anyone could easily automate this, otherwise it would have been done a long time ago.
Oh yeah?
Attached Thumbnails
importing-recordings-recordings-importer.jpg  
Attached Files
File Type: zip Recordings Importer 1.0.zip (62.3 KB, 20 views)
snakeman65 is offline   Reply With Quote
This User Say Thank You:
Reply

Bookmarks

Tags
importing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Importing mickyblue My TVSeries 2 2007-07-27 10:00
TS Recordings Play Blank Screen MPG Recordings Choppy jdugas Get Support 0 2007-07-03 14:30
Recordings are lost when importing TV server settings allanp81 pre 1.0 RC1 6 2007-06-06 22:26
A little help importing episodes? eventone My TVSeries 4 2007-02-24 17:28
Importing music - how? Spragleknas General Support 9 2006-08-16 19:30


All times are GMT +1. The time now is 09:59.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden