[mythtv-users] Viedo2ipod script error
Chris Tepe
cstepe at ctdataservices.com
Wed Apr 16 13:18:12 UTC 2008
Jeff Simpson wrote:
>> Looks like you have an older or damaged version of the mythtv perl
>> bindings.
>>
>> 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...
>
> - Jeff
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Sweeet. I'll give it a try and let you know if it works. I'm currently
running MythDora 4.0 and was not planning on upgrading for while (It
works why break it). But I am hoping to take advantage of the mp4
format for the kids recorded shows. I've currently been using the
myth2ipod script and adding them back in MythVideo.
Chris
More information about the mythtv-users
mailing list