LinHES Forums http://forums.linhes.org/ |
|
mplayer-wrapper Shell.pm not found http://forums.linhes.org/viewtopic.php?f=21&t=23882 |
Page 1 of 1 |
Author: | DoomedTX [ Sun Nov 24, 2013 7:03 pm ] |
Post subject: | mplayer-wrapper Shell.pm not found |
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 && 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 && 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. |
Author: | DoomedTX [ Sun Nov 24, 2013 8:03 pm ] |
Post subject: | Re: mplayer-wrapper Shell.pm not found |
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. |
Author: | brfransen [ Sun Nov 24, 2013 8:05 pm ] |
Post subject: | Re: mplayer-wrapper Shell.pm not found |
pacman -S perl-shell If that fixes it please open a ticket. mplayer-wrapper.pl needs perl-shell as a dep. |
Author: | DoomedTX [ Mon Nov 25, 2013 1:08 pm ] |
Post subject: | Re: mplayer-wrapper Shell.pm not found |
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |