View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Nov 24, 2013 7:03 pm 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
I recently installed R8 on my old R7 machine. When I tested Apple Trailers, I noticed I could play a random trailer but not play any of the trailers directly by name. The xml gives me a clue about why:

Code:
<type>VIDEO_BROWSER</type>
                <text>Play Random Trailer</text>
                <action>EXEC loading.sh &amp;&amp; mplayer -fs -zoom -really-quiet -user-agent QuickTime/7.6.2 -cache 16000 $(sort -R /home/mythtv/all_trailers | tail -1)</action>
        </button>

        <button>
                <type>VIDEO_BROWSER</type>
                <text>12 Years a Slave</text>
                <action>EXEC loading.sh &amp;&amp; mplayer-wrapper.pl -fs -zoom -really-quiet -user-agent "QuickTime/7.6.2" -cache 16000 http://trailers.apple.com/movies/fox_searchlight/12yearsaslave/12yearsaslave-tlr_h640w.mov</action>
        </button>


Note the random trailer button uses mplayer directly, while the "12 Years a Slave" trailer calls mplayer-wrapper.

I tried the link directly in a browser and it plays the trailer. I tried the command in shell and got this:

Code:
Can't locate Shell.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/LH/bin/mplayer-wrapper.pl line 3.
BEGIN failed--compilation aborted at /usr/LH/bin/mplayer-wrapper.pl line 3.


It seems I need to figure out how to install Shell.pm now, but shouldn't this have automatically installed during my system install? I'm asking because it's one of a number of weird little errors, and I'm trying to decide if I got a botched install somehow.

_________________
LinHES R8.6 BE/FE GIGABYTE GA-X48-DS5 / EVGA GeForce 9800 GTX+ / 4GB DDR2 RAM


Top
 Profile  
 
PostPosted: Sun Nov 24, 2013 8:03 pm 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
Ok, I found Shell.pm right there in /usr/lib/perl5/core_perl/CPAN/Shell.pm, but perl didn't seem to be looking in the CPAN directory by default. I created a symlink to Shell.pm:

Code:
sudo ln -s /usr/lib/perl5/core_perl/CPAN/Shell.pm /usr/lib/perl5/core_perl/Shell.pm


After this mplayer-wrapper seems to be working.

_________________
LinHES R8.6 BE/FE GIGABYTE GA-X48-DS5 / EVGA GeForce 9800 GTX+ / 4GB DDR2 RAM


Top
 Profile  
 
PostPosted: Sun Nov 24, 2013 8:05 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
pacman -S perl-shell

If that fixes it please open a ticket. mplayer-wrapper.pl needs perl-shell as a dep.


Top
 Profile  
 
PostPosted: Mon Nov 25, 2013 1:08 pm 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
brfransen wrote:
pacman -S perl-shell

If that fixes it please open a ticket. mplayer-wrapper.pl needs perl-shell as a dep.


It did, and I will, thanks. Just so I'm clear, I'm not whining about it not working right so much as wondering if I got a bad install somehow. I go through this every time I upgrade to a major version. I'm not sure if the list of little bugs I'm squashing is normal or if it's better to start over. Just little things like mythtv-setup failing to write .test to backup directories unless I make them 777, my tuners not working until I'd rebooted 4 or 5 times then magically starting to work without me making any configuration changes, the fact that I can't shutdown or reboot, etc.

_________________
LinHES R8.6 BE/FE GIGABYTE GA-X48-DS5 / EVGA GeForce 9800 GTX+ / 4GB DDR2 RAM


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu