[mythtv-users] Viedo2ipod script error
jeffsimpson at alum.wpi.edu
Tue Apr 15 17:12:06 UTC 2008
> Looks like you have an older or damaged version of the mythtv perl
> I have perl-MythTV-0.20.2-169.fc6 installed.
> So the answer is "older". The script requires MythTV 0.21.
> Thanks, Guess I'll have to wait till I upgrade.
yeah, that was an unfortunate side effect of the constantly-changing
perl bindings. Before 0.21 there was no concept of storage groups, so
all the data was stored in one directory.
This section of code is just here to get the address of
"/mnt/store/recordings" or whatever you named your storage directory.
my $sgroup = new MythTV::StorageGroup();
$video2ipod::myth_storage_dir = $sgroup->FindRecordingDir('show_names');
if ($video2ipod::myth_storage_dir eq '')
$video2ipod::myth_storage_dir = $sgroup->GetFirstStorageDir();
You could try commenting that out and replacing it with:
$video2ipod::myth_storage_dir = "/mnt/store/recordings";
or whatever your recordings directory is. I don't know if that is the
ONLY change to the perl bindings, so your mileage may vary. If that is
the only change, I'd be willing to write that in as an option
(-oldmyth or something). But of course, I don't have 0.20 to test it
on, so you'd have to be my guinea pig...
More information about the mythtv-users