Re: [Freevo-users] Directory list

2012-04-23 Thread Preston Hagar
On Sat, Apr 21, 2012 at 3:37 PM, James Fromm  wrote:
> Hello,
>
> I have used Freevo for a few years and have always had a nagging issue.
>  Finally decided to hunker down and try to solve it.
>
> I keep my TV episodes organized by episode number using real numbers for
> the file name, i.e. 1.avi, 2.avi . . . 11.avi, 12.avi, etc.  If all
> files are in place, all I get is a single item for "/video/Season
> 1/.avi" in the list.  If I remove 1.avi then all files above 11 don't
> display at all in the directory and 11.avi is displayed as "1", files
> 2.avi through 10.avi display fine.
>
> The work around I use is to rename the episodes alphabetically, a.avi,
> b.avi, etc.  This is a pain.  I've messed with the problem off and on
> over the years and every time just gave up.  I've tried several versions
> including the current from github.
>
> DIRECTORY_SMART_NAMES is off in both local_conf.py and the folder.fxd
> config for each directory.  Any ideas?
>
> Thanks,
> Jay
>

Try setting VIDEO_AUTOJOIN = 0

in your local_conf.py, restart freevo and see if that fixes it.


Preston

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] stop 'tearing' in AMD Radeon HD 6410D?

2011-12-21 Thread Preston Hagar
On Wed, Dec 21, 2011 at 3:22 AM, Paul Sijben  wrote:
> Update: the 3400 runs at 2.7Ghz. Do not know why /proc/cpuinfo reports it
> as 800MHz.
>

Not sure about the ATI card, I use a NVIDIA,

As for /proc/cpuinfo,

It will read the speed the CPU is currently running at, not the max
speed.  AMD chips are actually pretty good about scaling, so when idle
they tend to slow down to reduce heat and save power.  For example, I
have a Athlon 64 X2 6000+ (3.0 Ghz, dual core) in my main freevo box,
but it is reading 1 Ghz for cpu speed right now.

With cpufreq-set, you can adjust the cpu speed at will.  For example,
I run Hulu Desktop with Freevo (using a fxd command file).  Since Hulu
seems to take a lot of processing power and sometimes the cpu doesn't
scale up fast enough, I now start hulu with this script:


cpufreq-set -c 0 -f 3.0GHz
cpufreq-set -c 1 -f 3.0GHz
/usr/bin/huludesktop
cpufreq-set -c 0 -f 1.0GHz
cpufreq-set -c 1 -f 1.0GHz


Basically, the first two commands set my cpu frequency for each core
to their max (3.0 Ghz), then I run hulu.  When it exits, I set the
frequency back to the minimum 1 Ghz and let the standard governor take
over.

Try

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

to see what your current governor is, or

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

to see the available ones.

I use userspace, which then lets me use powernowd (you have to install
it separately).  It seems to be decent.

Anyway, you might try setting the governor to performance or just
setting the cpufreq to maximum before trying a video and see if that
helps your tearing problem.  You probably want the cpu to idle lower
when not in use, but it might at least give you an idea if your issue
is your cpu not running at full speed.

Preston

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo as PVR with standalone media player?

2011-10-24 Thread Preston Hagar
On Sun, Oct 23, 2011 at 8:21 PM, Daniel Pocock  wrote:
> Hi,
>
> I've been looking at the wide range of standalone media players now on
> display in the shops
>
> Their key benefits: compact, low power/fanless, inexpensive, fully
> integrated UI with remote control
>
> As far as the architecture of home multi-media is concerned, an emerging
> scenario involves
> - content (e.g. movies) stored on a home NAS or a device such as the HP
> N36L Microserver (which has 4 drive bays and gigabit),
> - the decoding/playback functions performed by these low profile media
> player boxes attached to each TV
>
> Does Freevo aim to address this use-case at the moment, e.g. acting as a
> back-end DVR and serving content to dedicated media players, and is
> anyone doing any work in this area?  Are any of the media players
> `Freevo friendly', e.g. able to use Freevo as a DVR?
>
> Regards,
>
> Daniel
>

As I understand it, Freevo doesn't really have a "backend" so to
speak.  The GUI is mainly a front end to load up movies in Xine or
MPlayer.  As for recording, I would guess that would really depend on
how you have that setup and what format it records in.

I wouldn't see that Freevo really needs a backend to serve up content.
 My suggestion would be to go with one of the media boxes that support
 a wide variety of formats and NFS or SMB shares, like the WD TV Live
or the Logitech Revue (among others).

The way I have my home network setup is one central server with
multiple hard drives in RAID configuration with the directory that
contains my media files shared out both via Samba and NFS to the local
network.  In some rooms, I have old computers with Freevo setup that
NFS mount the directory from the central server and play the files.
In other rooms, devices like a WD Live Plus uses the Samba share to
index and play the files.

I'm not sure if this 100% answers your question, but hopefully it might help.

Preston

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-17 Thread Preston Hagar
On Sat, Aug 13, 2011 at 1:15 PM, Dan Schmidt  wrote:
> Great price, I have to admit.  I suppose if you were familiar with it,
> it would be a good idea.  I might suggest putting a howto on the wiki
> for those who give up on lirc.

I'll try to get to it if I can.  Things have picked up this week so it
might be next week.

>
> Cpufreq-set doesn't seem to work on my pentium 4.  Are you over clocking
> your processer?

Not overclocking.  Not all CPUs are scalable.  It depends on the CPU
and the Linux driver for it.  Try the following:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

If you get nothing or just one frequency, it probably won't scale.
Sometimes there is a setting in the BIOS to enable it, but again it
may just not be capable.  My main, server/freevo box has an AMD Athlon
x2 and it can scale.  The freevo box in my bedroom is a P4 generation
Celeron and it cannot scale.

I don't scale mine above the max frequency it is capable of.  Really,
the who purpose of not running it "full speed" all the time is that
probably 70-90% of the day, it is sitting more or less idle.  I scale
it down to 1 Ghz (from 3 Ghz) to save on power and make it easier to
keep cool.

> A couple more tips:
>
> 1.  Flashaid.  The results were noticeably better.
> https://addons.mozilla.org/en-US/firefox/addon/flash-aid/

I might have to check into that.  I don't really have a desktop per se
on that pc, nor do I have firefox (I launch things in Chrome, if
needed) but I might try it out.  Overall though, with the processor
running at full speed, and hardware acceleration turned off, Flash
generally seems to work fine.

>
> 2.  Volume
>
> I like the sound up all the way when I launch hulu.  Turn up the sound
> on the remote or with alsamixer, run '/sbin/alsactl -f asound.state
> store' to save the settings, then add a' /sbin/alsactl -f
> /home/freevo/asound.state restore' to your hulu startup script.  I'll
> add this to the wiki too, when I cease to find any further tweaks.
> (Which, granted, may be the present)
>

Another good trick.  Hulu generally is more or less the same as most
of my video files I play through Freevo, so I haven't had much volume
issues.  I pretty much keep my alsamixer volumes at around 85 and
adjust the volume on the TV instead.

> On a side rant, I have to applaud Hulu for giving me a good legal way to
> use their site, and especially for doing so on Linux.  No longer need to
> resort to rtmpdump.
>

Agreed.  There seems to be rumors that they may drop support since
they have Hulu+ for set top boxes (Hulu Desktop came out first), but
so far it has kept working.  I haven't seen an update in quite a while
though, so that might indicate something.

Preston

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-12 Thread Preston Hagar
On Thu, Aug 11, 2011 at 8:00 PM, Dan Schmidt  wrote:
> You did what instead of figuring out lirc?  That seems harder than using
> lirc.
>

The remote I use, on linux, just emulates a USB keyboard and mouse.
Most of the special keys like play, pause, fast forward, etc. are hard
coded to be the keyboard shortcuts for Windows Media Center.  WMC and
Xine share a lot of short cuts, but not all of them.  For the ones
that weren't the same, I just got the keycode the remote sends and
remapped it to the shortcut key Xine/Freevo expects.

It vary likely isn't easier, but I had never used LIRC before and have
used keyboards and key mapping before.  Although I am sure LIRC is
nice to use, after spending a decent amount of time getting Freevo
setup how I wanted it (right resolution, using nfs mounted dirs for
TVs in other rooms, etc.) I got tired and just hacked up the remote
with stuff I already knew and understood.

It isn't something I would recommend, although if anyone has a similar
remote or wants to get one, I am glad to share how I set it up if it
would help out.  I actually just have a Logitech Harmony emulate the
cheap $7 remote and use the USB/IR that came with the remote now.

Preston

--
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-11 Thread Preston Hagar
On Wed, Aug 10, 2011 at 11:08 PM, Dan Schmidt  wrote:
> Excellent, thanks very much!
>
> If I may offer what I have found:
>
> 1.  Setting screen to 640x480 and setting the quality to low (look for
> at the bottom of the screen) seemed to greatly smooth the picture
> quality on my old computer.  Unable to make freevo work at 640x480
> (/etc/freevo/freevo.conf - didn't make any difference, freevo was too
> big!!), I wrote a quick script to launch it as such:
>
> /usr/bin/xrandr -s 640x480
> /usr/bin/huludesktop
> /usr/bin/xrandr -s 800x600
>
> 2.  Finding the mythtv documentation, I got lirc working by adding the
> '-r' as follows:
>
> http://www.mythtv.org/wiki/Hulu_Desktop_Integration#LIRC_Configuration
>
> Followed, of course, by a service lirc restart.
>
> Reading the output from irw, I changed my remote type and my
> button_name_menu in /home/freevo/.huludesktop
>
> lirc_remote_identifier = Hauppauge_350
> button_name_menu = Go
>
> I have searched far and wide for documentation on how to add other
> buttons than the following six, but have found none.  If anybody has any
> tips, please send along.
>
> button_name_up = Up
> button_name_down = Down
> button_name_left = Left
> button_name_right = Right
> button_name_select = OK
> button_name_menu = Go
>
> Thanks again - great wiki article.  When I get a day off (eventually),
> I'll try to add a couple of my own.
>

Those are some great ideas to add in.  I'll let you add them since you
are probably more familiar with them then I am.  I run Freevo and Hulu
at 1366x768, which is I'm sure the reason it gets choppy if I don't
scale up the CPU.I also use this USB IR receiver:

http://www.amazon.com/Wireless-USB-Remote-Control-Mouse/dp/B001M56DI0

with a Logitech Harmony 300 programmed to emulate it.  It more or less
just works like a keyboard, so I just had to remap a few keys to make
it work.  Instead of figuring out lirc, I just setup a "fix
controller" script that I have on my home screen of Freevo that
executes the following:
#!/bin/bash
xmodmap -display :0 -e 'keycode 162 = u'
xmodmap -display :0 -e 'keycode 153 = f'
xmodmap -display :0 -e 'keycode 144 = r'
xmodmap -display :0 -e 'keycode 176 = m'
xmodmap -display :0 -e 'keycode 174 = n'
xmodmap -display :0 -e 'keycode 160 = F3'
xmodmap -display :0 -e 'keycode 164 = Escape'
xset -display :0 -dpms
xset -display :0 s off

The last two turn off any screen savers since I was having the screen
go out and not wake back up.  It probably isn't the most elegant way
to do it, but I just have a big Initialize menu option at the start of
Freevo and just have to run it if there is a reboot.  I tried putting
it in as a startup script, but it seems to only work once Freevo is
loaded, probably because it needs the display to be loaded and ready
for the xmodmaps.

Anyway, thanks for the input, glad you liked the HowTo.

Preston

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-10 Thread Preston Hagar
On Wed, Aug 10, 2011 at 12:05 PM, Evan Hisey  wrote:
> On Wed, Aug 10, 2011 at 11:42 AM, Preston Hagar  wrote:
>
> This is really nice. Think you could added it to the freevo Wiki? I am
> sure alot of other folks could use this in the future.
>
> Evan
>

This is my first write up of a wiki page for Freevo, but hopefully it is okay:

http://doc.freevo.org/HuluDesktop

Preston

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-10 Thread Preston Hagar
On Tue, Aug 9, 2011 at 4:11 PM, Evan Hisey  wrote:
>
> Using the FXD is lot simpler than the approach I was going to take. I
> use freevo as the desktop on mine. May have to change ow that I think
> about. hulu would need a window manager.
>
> Evan
>

I installed ratpoison (apt-get install ratpoison on ubuntu) and then
added this to /etc/ratpoisonrc

#start config
msgwait 1
startup_message off
defborder 0
set padding 0 0 0 0
set bgcolor black
set bargravity southwest
exec xset -dpms
exec xset s off
exec xsetroot -display :0 -solid "#00"
exec xsetroot -cursor_name left_ptr

#end config

Basically, I turn off the start up message, make it fill the screen,
set the background color black in case hulu desktop doesn't completely
fill the screen for some reason and turn the screen saver off.

Then, in my freevo local_conf.py I added the following:

COMMAND_SPAWN_WM = '/usr/bin/ratpoison &'
COMMAND_KILL_WM = 'killall ratpoison'

With the  in the FXD file, it will start ratpoison, set my
config settings load hulu desktop.  Then when I exit hulu desktop
(from the hulu menu) it closes ratpoison and takes me back to freevo
(the freevo screen saver comes back as well).

I have also created similar FXD files that load the video pages of
websites in Chrome.  For example, my daughter likes Special Agent Oso
on Disney Jr., so I have a FXD file like this:




/usr/bin/google-chrome
--app=http://disney.go.com/disneyjunior/special-agent-oso/special-agent-oso-videos-episodes




Playhouse disney videos




which loads the Agent Oso video page.  It is a little bit of a pain to
use my "remote mouse" (I have a Harmony 300 with one of the functions
set as a Media Center remote with the number keys at the bottom
emulating a mouse) to click the video to start, but once it does, I
make it full screen and we can watch it.

As one other note, as I mentioned before, Hulu seems to take a lot of
processing power.  For some reason, no matter what governor I picked,
it seemed that my CPU wouldn't scale up to its max speed when Hulu was
running, leading to jumpy playback.  I created a simple script file
with the following:

cpufreq-set -c 0 -f 3.0GHz
cpufreq-set -c 1 -f 3.0GHz
/usr/bin/huludesktop
cpufreq-set -c 0 -f 1.0GHz
cpufreq-set -c 1 -f 1.0GHz

Called it starthulu, made it executable, and put it in /usr/bin.  I
then set my FXD to use this script instead.  Basically, it sets each
of the cores of my CPU to their max speed (3.0 GHZ), starts Hulu, and
then turns them back down to their min speed when I exit from Hulu.
You might not need that, but I thought I would share in case it might
help.

Preston

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Any one using hulu on freevo?

2011-08-08 Thread Preston Hagar
On Fri, Jul 22, 2011 at 9:31 AM, Evan Hisey  wrote:
> Well, after a tornado leveled my old place I have now got a new place
> to stay, and am setting up a new freevo system. We are looking at
> using hulu for TV shows instead of paying another 40+ a month for
> something we only use a little of (like 3 channels). I know at one
> point there was a way to use hulu on freevo and then it broke. Has
> anyone got it back working again? This might be a nice feature for 2.x
> also.
>
> evan

I setup Hulu Desktop for Linux (I use ubuntu, so it was an easy dpkg install):

http://www.hulu.com/labs/hulu-desktop-linux

Then setup a simple command file I called hulu_desktop.fxd with the following:




/usr/bin/huludesktop




Hulu Desktop




I then added:

plugin.activate('command.CommandMainMenuItem',
args=('/etc/freevo/commands/hulu_desktop.fxd',),level=20)

to my local_conf.py

This puts on the "home screen" or whatever you want to call it a menu
option called Hulu Desktop.  I can select it and then it loads Hulu
Desktop, which is a "10 foot interface" for Hulu.  I then can use my
remote to navigate, play videos, etc.   I did find it takes a little
more processing power than just playing avi files or whatever in xine
or mplayer, so I had to upgrade my cpu to a Athlon 64 x2 6000+ and I
have a GeForce 210 video card, and it plays smooth.

I also had to setup ratposion for the desktop.  If you need more info
about setting it up, feel free to post back.  Overall though, you end
up with a really nice Hulu interface to all of Hulu, not just Hulu
Plus on your TV.

Preston

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Recommendation for USB TV tuner for use in USA

2010-11-11 Thread Preston Hagar
I've had Freevo running for some time now on an Ubuntu Hardy machine.
I have been using it mainly for playing ripped videos, with a little
use for music and photos.  I have, so far, had the TV plugin disabled.

I would like to start using the TV plugin and recording OTA digital TV
signals here in the US.  I get really good reception with a lot of
channels, so I know that shouldn't be a problem.

I need a TV tuner.  I would really prefer a USB one, so that if I get
it and don't have the time or energy to get it or Freevo configured
correctly, I can just connect it to my Windows 7 laptop and let
Windows Media Center do the work.  Ideally, I would like it to be as
inexpensive as possible (single tuner is fine), but I am willing to
pay a little more for something that just works.

I have tried searching high and low and can't find any clear answers
as to a TV tuner that will work reliably with Linux.  The Freevo
hardware page:

http://doc.freevo.org/Hardware

seems to either just list analog cards (which, if I understand things
correctly, isn't broadcasted anymore in the US) and DVB cards, which I
think is different than what is broadcast in the US.  I also looked at
the cards here:

http://freevo.sourceforge.net/hardware/recommended.php

but most are either not digital (or I can't figure out for sure), not
USB, or not sold/made anymore.

I would be willing to try a PCI based solution, if I could get it
cheap (even off ebay or something) for around $25 or less.  Otherwise
I am hoping to stay in the $50-$60 range if at all possible.

I came across the Hauppauge 1200 WinTV HVR-850 HDTV Tuner Stick which
I saw a few reports that it might work in Linux, but then I saw others
that seem to say that the newest versions don't.

I would appreciate anyone's pointers or guidance.

Thanks!

Preston

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users