BackupSettings for Tv Server and Media Portal (8 Viewers)

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
  • Thread starter
  • Moderator
  • #41
twindad, the bad news is that a tvserver plugin needs the tvserver installed
the good news is that i did a script backup solution when naich asked for a MP client only backup. The code is ready, but needs some more debugging which i will do once i am back at home from Asia. I am worried that the Vista security features could become an issue. So this will be a batch file where you need to customize the MP installation paths and the backup directory. Not as comfortable as the Tv server plugin, but it should do its job. Check this post again in about 2 more weeks.

robyf, i was thinking more about the duplicate channel names. There could be an issue if you have duplicate channel names for the imported groups and schedules. In the case of duplicate channel names always the first channel would be assigned for the group or the schedule. I am thinking about an automated renaming procedure for the MP display name, but need to check how this behaves for an updated scan of the card. I will look into that more after the completion of the MP standalone backup/restore
 

Swede

Portal Pro
September 6, 2006
493
47
West Coast Archipelago
Home Country
Sweden Sweden
Hmm... strange error for me, nothing exported:

2008-11-03 16:16:46.130341 [SetupTv]: BackupSettings: diskQuotaEnabled = False
2008-11-03 16:16:46.134247 [SetupTv]: BackupSettings: freediskspace\ = 500
2008-11-03 16:16:46.137177 [SetupTv]: BackupSetting: Fatal Error: Failed to export TV server settings to file - exception message is The '\' character, hexadecimal value 0x5C, cannot be included in a name.
2008-11-03 16:21:46.037904 [SetupTv]: Backup_Settings: Configuration deactivated

Where does it get "freediskspace\ " from anyway?
The rest works if I uncheck "TVsettings.xml"
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
  • Thread starter
  • Moderator
  • #43
Swede, it comes from
Recording settings-> Disk Quota
I did expect a drive letter as the first character for drives.
I will improve the plugin checking for the case that "enable disk quota" is disabled
Somehow you got a "\" instead of a drive letter in from the recording folders. Are you recording to a network drive?
Thanks for posting the logfile. I will update this case in the next version.
 

Swede

Portal Pro
September 6, 2006
493
47
West Coast Archipelago
Home Country
Sweden Sweden
Yes, your'e right about network drive. That was totally unnessesery so now it's set to C:\recordings instead and it works perfectly. I really think that this is one of the best plugins ever. Great job!!!
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
  • Thread starter
  • Moderator
  • #48
Swede, can you post a log file during exporting the TV settings? What was the start date and the time for the scheduled recordings? Please check the TV server configuration in section TV schedules. Are your scheduled recordings listed here? How many scheduled recordings do you have here?

Evis, there cannot be a guarantee that it will work for final RC as I cannot predict what the team will change. But the program is very stable already, so i believe there is a good chance it will work as smooth as it did from RC2 to RC3.
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
  • Thread starter
  • Moderator
  • #49
Media Portal Client Scripts

Attached you will find two batch files for backup and restore of the media portal user settings.
You will need to use them only if you do not use Tv Server.
This should fix the issues for naich and twindad.
Use of the script files is on your own risk.
You will need to customize the header section of the batch files and specify
- your media portal program installation folder
- your media portal user data
- your backup folder
This needs to be done in the following section
REM -------Customize the following varibales

SET MP_CLIENT_PROGRAM="C:\Program Files\Team MediaPortal\MediaPortal"
SET MP_CLIENT_USER="C:\ProgramData\Team MediaPortal\MediaPortal"
SET MP_CLIENT_BACKUP="F:\Installation\Debug XML\testen7"

REM -------END Customizing
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
  • Thread starter
  • Moderator
  • #50
new version 0.0.0.9 released

I have released 0.0.0.9. The major change is the support of a Media Portal Client in a multiseat configuration on a host computer for backup / restore if no TV server is installed there. Then you can do now the backup/restore via the network. Make sure you have the correct write access to all your Media Portal program and user installation paths. In Vista the user access control must be turned off when you restore an MP client.
Check the manual for more details.

I have also included better exception handling for special cases like quality video settings and network paths recording folders starting with \\.

In case you encounter any issues, please post your TV server log file with the debug checkbox activated.

Have fun, huha
 

Users who are viewing this thread

Top Bottom