[mythtv-users] Viedo2ipod script error
Chris Tepe
cstepe at ctdataservices.com
Thu Apr 17 01:57:42 UTC 2008
Chris Tepe wrote:
> 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
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
More than that changed. I now get.
Can't locate object method "new_recording" via package "MythTV" at
/usr/bin/video2ipod line 292.
Think it will be best to wait till I upgrade.
Thanks
Chris
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080416-1, 04/16/2008
Tested on: 4/16/2008 9:57:43 PM
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080416/6de1669a/attachment.htm
More information about the mythtv-users
mailing list