Re: [Freevo-users] 1.9.0 vs freevo1-git
On 2012-06-03 00:31, Adam Charrett wrote: snip I did write a v small plugin a while ago to display a 'Downloaded TV' option in the TV menu which was a just another way to browse a different directory contain downloaded TV content. Found the tv.plugins.view_recordings plugin. Thanks! freevo1-git now uses kaa-epg and to access the guide you need to be running the recordserver. Hmm, now I see that it doesn't start ok; # /usr/bin/freevo --daemon recordserver tv ~ # Warning: freevo_config.py was changed, please check local_conf.py Traceback (most recent call last): File /usr/lib64/python2.6/site-packages/freevo/helpers/recordserver.py, line 58, in module import tv.record_types File /usr/lib64/python2.6/site-packages/freevo/tv/record_types.py, line 41, in module import util.tv_util as tv_util File /usr/lib64/python2.6/site-packages/freevo/util/tv_util.py, line 35, in module import tv.epg File /usr/lib64/python2.6/site-packages/freevo/tv/epg.py, line 14, in module kaa.epg.listen(('', 1), config.RECORDSERVER_SECRET) File /usr/lib64/python2.6/site-packages/kaa/epg/__init__.py, line 73, in listen server.append(Server(guide, address, secret)) File /usr/lib64/python2.6/site-packages/kaa/epg/rpc.py, line 210, in __init__ self._rpc = kaa.rpc.Server(address, secret) File /usr/lib64/python2.6/site-packages/kaa/base/rpc.py, line 178, in __init__ self._socket.listen(address) File /usr/lib64/python2.6/site-packages/kaa/base/sockets.py, line 532, in listen sock, addr = self._make_socket(addr, overwrite=True) File /usr/lib64/python2.6/site-packages/kaa/base/sockets.py, line 433, in _make_socket sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) File /usr/lib64/python2.6/socket.py, line 184, in __init__ _sock = _realsocket(family, type, proto) TypeError: an integer is required Looks like a kaa.base error, I think this may have been resolved recently. Not fixed in git as of today. A quick glance at the code suggests that this chunk of code assumes IPv6 somehow. I have a ipv4 only system (kernel w/ CONFIG_IPV6 not set). Do I _have_ to enable v6 to get this to work? (Being a c guy, I know there are version independent c socket interfaces. I would assume the same holds for python. How come version specific coding here?) To load in the listings use freevo tv_grab -- -u Hmmm. My git copy doesn't have an -u option # freevo tv_grab -- --help Doh, hadn't pulled in the changes from my branch, there should be on the main branch now. got -u supported in the git refresh. I accidentally ran the command as the wrong user and got: Traceback (most recent call last): File /usr/lib64/python2.6/site-packages/freevo/helpers/tv_grab.py, line 96, in module tv.epg.update(config.XMLTV_FILE) File /usr/lib64/python2.6/site-packages/freevo/tv/epg.py, line 131, in update kaa.epg.update().wait() File /usr/lib64/python2.6/site-packages/kaa/epg/__init__.py, line 120, in __call__ return guide.update(backend, *args, **kwargs) File /usr/lib64/python2.6/site-packages/kaa/base/coroutine.py, line 219, in newfunc ip.result File /usr/lib64/python2.6/site-packages/kaa/base/async.py, line 285, in result raise self._exception[1] kaa.base.errors.AsyncException: Exception raised asynchronously; traceback follows: File /usr/lib64/python2.6/site-packages/kaa/base/coroutine.py, line 374, in _step result = self._step_generator() File /usr/lib64/python2.6/site-packages/kaa/base/coroutine.py, line 615, in _step_generator return self._coroutine.next() File /usr/lib64/python2.6/site-packages/kaa/epg/sources/update.py, line 99, in update self._db.vacuum() File /usr/lib64/python2.6/site-packages/kaa/base/db.py, line 2509, in vacuum self._db_query('DELETE FROM ivtidx_%s_terms WHERE count=0' % ivtidx) File /usr/lib64/python2.6/site-packages/kaa/base/db.py, line 651, in _db_query cursor.execute(statement, args) OperationalError: attempt to write a readonly database Maybe that should not throw a stack trace, but rather just return with a oneliner informative error message? But maybe current behaviour is desired by the devs? (I always assumed that stacktraces are either an explicitly enabled debug feature, or a sign of uncaught exceptions (i.e. sloppy coding)). Now, how to get the recordserver to start without V6 support... Rgds, /Anders -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats.
Re: [Freevo-users] 1.9.0 vs freevo1-git
On 2012-05-29 22:50, Adam Charrett wrote: On Tue, 2012-05-29 at 21:20 +0200, Anders Eriksson wrote: Hi, I recently took the step to upgrade from 1.9.0 to freevo1-git. Three issues encountered so far. 1) The Manage Recordings folder shows only some of the files in my / media/tv directory. It used to show all files. I have a habit of just dropping 'stuff I receive' in that folder for later viewing and no that doesn't work any more. I have hunch that might be because those files lack fxd metadata (they never will have fxds). Well the RecordingsManager plugin has been altered in that regard, but I would add that the scenario you describe isn't the way it is designed to work so I wouldn't say it will work without issue Ok. Fair enough. Any chance it can be made to pick up stuff as it appears, or is the directory to be considered 'managed' territory in the future? The one thing that got me hooked in freevo (vs mythtv when I got my htpc) was the transparency it gave when comparing the its view of the world with what I could see myself with a simple 'ls' and 'cat'. Entrusting mythtv's sqldb with all my metadata was not really an appealing prospect. 2) I have subdirs in my /media/tv. Now none of them are shown in the menu. Shown where? Not sure what you are saying here? The Manage Recordings menu. Whenever I get a batch of avi:s from somewhere, I place them in a folder (mkdir, cp), to be viewed like any other show. 3) What about the epg? It's now all empty. Any guides as to what (re)configuration one has to do? (analog tv) freevo1-git now uses kaa-epg and to access the guide you need to be running the recordserver. Hmm, now I see that it doesn't start ok; # /usr/bin/freevo --daemon recordserver tv ~ # Warning: freevo_config.py was changed, please check local_conf.py Traceback (most recent call last): File /usr/lib64/python2.6/site-packages/freevo/helpers/recordserver.py, line 58, in module import tv.record_types File /usr/lib64/python2.6/site-packages/freevo/tv/record_types.py, line 41, in module import util.tv_util as tv_util File /usr/lib64/python2.6/site-packages/freevo/util/tv_util.py, line 35, in module import tv.epg File /usr/lib64/python2.6/site-packages/freevo/tv/epg.py, line 14, in module kaa.epg.listen(('', 1), config.RECORDSERVER_SECRET) File /usr/lib64/python2.6/site-packages/kaa/epg/__init__.py, line 73, in listen server.append(Server(guide, address, secret)) File /usr/lib64/python2.6/site-packages/kaa/epg/rpc.py, line 210, in __init__ self._rpc = kaa.rpc.Server(address, secret) File /usr/lib64/python2.6/site-packages/kaa/base/rpc.py, line 178, in __init__ self._socket.listen(address) File /usr/lib64/python2.6/site-packages/kaa/base/sockets.py, line 532, in listen sock, addr = self._make_socket(addr, overwrite=True) File /usr/lib64/python2.6/site-packages/kaa/base/sockets.py, line 433, in _make_socket sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) File /usr/lib64/python2.6/socket.py, line 184, in __init__ _sock = _realsocket(family, type, proto) TypeError: an integer is required To load in the listings use freevo tv_grab -- -u Hmmm. My git copy doesn't have an -u option # freevo tv_grab -- --help Freevo 1.9.2-git started at Thu May 31 10:39:54 2012 Usage: freevo tv_grab [options] Downloads the listing for xmltv and cache the data Options: --versionshow program's version number and exit --help, -h show this help message and exit --query, -q print a list of all stations. The list can be used to set TV_CHANNELS [default:False] Cheers Adam -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo
Re: [Freevo-users] Using multimedia keys from a multimedia keyboard
On 01/15/12 22:00, Leandro Noferini wrote: Jonathan Isom jei...@gmail.com writes: [...] KEYMAP[0xe0] = 'VOL+' No, it does not work. You may want to try the following numbers from linux/input.h MUTE113 VOLUME DOWN 114 VOLUME UP115 I think the 0xe0 is KEY_BRIGHTNESSDOWN 224 No, it does not work. I think this happens because freevo reads the keys in a different way I could not understand. Check what syslog says about it. I usually get a message ther about unmapped keys. Map it to a know key code and freevo should pick it up. -Anders -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] pm-suspend and (auto)shutdown
Hi, I'd like to get freevo to suspend my machine when it's not in use. It seems the autoshutdown plugin is able to kick in at the right times, _but_ it kills freevo while at it. Effectively, setting SYS_SHUTDOWN_CMD = sudo pm-suspend makes freevo shutdown itself and then supend the machine; when it resumes, freevo is no more. Any ideas how I can get freevo to just call pm-suspend when the time is ripe, and refrain from closing up shop? -Anders -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] [Freevo-devel] RFC, patch to add html5 and flash players
john.molo...@gcd.ie said: Hi Anders, This sounds great. Unfortunately at the moment I haven't even got a stable freevo box up let alone a devel box I could test it on. I would be a great addition to the upcoming release though, could you submit a feature request in the tracker [1] so that Adam doesn't miss this and we make sure it gets committed? Thanks, John Done: https://sourceforge.net/tracker/?func=detailaid=3159238group_id=46652atid=446898 It would indeed be cool to get a basic version of this into the next release. -Anders -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] [Freevo-devel] Freevo 1.9.2 Beta 1 available for download
a...@dvbstreamer.org said: Just in time for Christmas, I've upload the first beta of the 1.9.2 release. There has been lots of improvements and bug fixes since the last full release over a year an a half ago. Cool! So, to stage a test of this properly, what are its dependencies? I suspect the kaa-* stuff needs a version bump, others might as well. Is freevo-1.9.0 compatible with the depsversions required by 1.9.2-beta1? -Anders -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] multiple audio outputs using mplayer? (HDMI + SPDIF)
step...@rowles.org.uk said: However music and stereo sound still go to the TV (for normal TV viewing). What I would really like would be able to send the audio to both the telly via HDMI and to the amp via SPDIF. So that I could listen to music with the telly off, but without always needing the amp on to hear anything. I want to do the same myself and found that pulseaudio claims to have a soltion for it. I haven't tried it yet though. http://www.pulseaudio.org/wiki/FAQ#CanIusePulseAudiotoplaybackmusicontwosoundcardssimultaneously /Anders -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] *server start/stop
izio...@fastwebnet.it said: You can find the bug report, along with a patch and comments from another user, here: https://sourceforge.net/tracker/?func=detailatid=446895aid=2904361group_id= 46652 I personally resolved the issue by changing the /usr/bin/python simlink to point to python2.6, eg: Thanks for the hint. I ended up doing the symlink too, and it works fine. Would be great to see an 1.9.1 with these (and other) fixes pushed. /Anders -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] *server start/stop
ehi...@gmail.com said: Off the top of my head it looks like the recordserver is just plain failing shortly after it is started. Have you checked the logs for teh recordserver? Evan Yep. The logs indicate that it's there (no indication of it closing down). Ps reports that the fingered pid is still alive and kicking. How do people normally pull this off? I'm looking at having the *servers started by the normal init.d scripts and the freevo GUI process as a dedicated user (started from inittab). I'm had that (sort of) working on an old machine, but when setting up a new one I discovered that the init.d start/stop actions didn't work as expected. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] *server start/stop
Hi, I'm trying to get my head around how to best start/stop all freevo *servers in a controlled way, but fail miserably. freevo recordserver --daemon The process starts fine and leaves a pid file in /var/log/rerordserver-0.pid (if root), or /tmp/recordserver-uid.pid if as a user. In both cases: freevo recordserver --stop greets me with cannot kill recordserver no pid A debugrun as root gives: opts={'profile': False, 'fullscreen': False, 'daemon': False, 'dry_run': False, 'trace': [], 'doc': False, 'stop': True, 'execute': None, 'debug': 1, 'server_layout': None} args=['recordserver'] opt_debug=['--debug'] opt_trace=[] opt_daemon=[] opt_server_layout=[] RUNAPP='' FREEVO_SCRIPT='/usr/bin/freevo' FREEVO_PYTHON='/usr/lib64/python2.6/site-packages/freevo' FREEVO_LOCALE='/usr/share/locale' FREEVO_SHARE='/usr/share/freevo' FREEVO_CONTRIB='/usr/share/freevo/contrib' FREEVO_CONFIG='/usr/share/freevo/freevo_config.py' FREEVO_HELPERS='/usr/lib64/python2.6/site-packages/freevo/helpers' PYTHONPATH='/usr/lib64/python2.6/site-packages/freevo' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib64/subversion/bin:/opt/vmware/player/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/sbin:/usr/sbin' USER='root' HOME='/root' arg='recordserver' args=['recordserver'] name='freevo' stop(name='recordserver', arg=['python', '/usr/lib64/python2.6/site-packages/freevo/helpers/recordserver.py']) getpid(name='recordserver', args=['python', '/usr/lib64/python2.6/site-packages/freevo/helpers/recordserver.py']) 4:fname='/var/run/recordserver-0.pid' pid=0 arg='python' cannot kill 'recordserver' no pid recordserver not running cat /var/run/recordserver-0.pid 5282 Any ideas? -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] OVERLAY_DIR and freevo cache --www-thumbs
ed...@billiau.net said: Can you use a symbolic link to allow the thumbnail generation? Can you make the thumbnails and then change the directory permissions? Suppose I could, but the desired workflow is: chown -R myself /albums Whenever needed: mkdir /albums/stuff45 cp /mnt/usbstick/*.jpg /albums/stuff45/ while the freevo user (and _all_ other usages) leaves _no_ mark in /albums. I have freevo and a couple of pic viewers runing cronjobs on the album database, and having them all stick their tumbnails and small databases in there makes it all look ugly. Both from the complexity growth (trying to get them all to know how to exclude eachother's crap), and from a desktop broswer point of view, when you point your konqueror to /albums and get greeted with lots of .thumbs/ .db/ tn/ etc folders. Separating the raw data from derivatives is just the right thing to do, imho. It makes me sleep better too, knowing that it's ro for everything that traverses the fs. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] OVERLAY_DIR and freevo cache --www-thumbs
dun...@freevo.org said: Sorry about this, I didn't realise that mounting photos read-only would not work correctly any more. Will you tell me exactly what you are doing with the photos, ideally so I can test the problem as you use Freevo. So what I need to know is how do you mount the photos, from a stick, cd, etc. How do you view them from the View Images or from the Web page. Alright. It's not that I _mount_ them ro, I just like to have the entire album tree ro. Ie, no write access to the files, nor the directories in which they live. The thumbmail generation craps out since it cannot create the thumbnails in the same tree. The intent is tweofold; 1) Increased security against sw errors, 2) to have the album tree as a 'master' tree and all viewers (freevo and other things browsing the free) keep their bookkeeping data elsewhere so as not to fsck up each others view/parsing of the tree (.e.g not browse down a thunbmail directory) If you also get time, please enter a bug report at: https://sourceforge.net/tracker/?func=addgroup_id=46652atid=446895 https://sourceforge.net/tracker/?func=detailaid=2942787group_id=46652atid=446895 -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] [PATCH] LCDd requires escaped backslashes
Current lcd.py emits unescaped backslashed for the audio progress indications. Resulting in the following error in LCDd: select(1024, [3 5 6 7], NULL, NULL, {0, 0}) = 2 (in [6 7], left {0, 0}) read(6, widget_set P cpu0_bar 6 1 4\n, 8192) = 28 read(6, 0xbfe0c33c, 8192) = -1 EAGAIN (Resource temporarily unavailable) read(7, widget_set audio_player animation_v 1 2 \n, 8192) = 44 | 0 77 69 64 67 65 74 5f 73 65 74 20 61 75 64 69 6f widget_s et audio | | 00010 5f 70 6c 61 79 65 72 20 61 6e 69 6d 61 74 69 6f _player animatio | | 00020 6e 5f 76 20 31 20 32 20 22 5c 22 0a n_v 1 2 \. | read(7, 0xbfe0c33c, 8192) = -1 EAGAIN (Resource temporarily unavailable) write(6, success\n, 8)= 8 time(NULL) = 1263892954 send(8, 11Jan 19 10:22:34 LCDd: error: huh? Could not parse command\n\0, 63, MSG_NOSIGNAL) = 63 write(7, huh? Could not parse command\n, 29) = 29 nanosleep({0, 3125}, NULL) = 0 gettimeofday({1263892954, 428432}, NULL) = 0 select(1024, [3 5 6 7], NULL, NULL, {0, 0}) = 1 (in [6], left {0, 0}) read(6, widget_set P cpu1_bar 6 2 50\n, 8192) = 29 read(6, 0xbfe0c33c, 8192) = -1 EAGAIN (Resource temporarily unavailable) This patch fixes it: --- /usr/lib/python2.6/site-packages/freevo/plugins/lcd_old.py 2010-01-19 11:00:59.0 +0100 +++ /usr/lib/python2.6/site-packages/freevo/plugins/lcd.py 2010-01-19 11:00:32.0 +0100 @@ -598,9 +598,9 @@ # Animaton-Sequence used in audio playback # Some displays (like the CrytstalFontz) do display the \ as a / if self.version.startswith('0.5'): -self.animation_audioplayer_chars = ['-', '\\', '|', '/'] +self.animation_audioplayer_chars = ['-', '', '|', '/'] elif self.version.startswith('0.4'): -self.animation_audioplayer_chars = ['-', '\\', '|', '/'] +self.animation_audioplayer_chars = ['-', '', '|', '/'] else: self.disable = 1 self.reason = 'Unsupported LCDd version: %s' % (self.version,) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] [PATCH] LCDd requires escaped backslashes
Hi John, john.molo...@gcd.ie said: Thanks for the patch, can you submit it to the bug tracker to make sure it gets included? I don't want to be rude, but is there any reason it cannot be applied right now? I'm not sure who has commit rights. Do you? -Anders -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] [PATCH] LCDd requires escaped backslashes
john.molo...@gcd.ie said: As it happens he's been pretty busy lately and is only getting back to spending some time on the 1.x branch now after a long break. It's handy for him to be able to browse the trackers and know exactly what's outstanding rather than having to trawl through every single post to the users and devel lists to get up to speed. Done: https://sourceforge.net/tracker/?func=detailaid=2935152group_id=46652atid=446895 -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] OVERLAY_DIR and freevo cache --www-thumbs
dun...@freevo.org said: which has the overlay related stuff commented out. Is this a typo, or made deliberately because it's known to be broken somehow? It was done deliberately for the mkimagemrss helper. This allows cooliris to work with freevo. What's the expected long term solution? Deprecating OVERLAY_DIR? fixing cooliris (whatever that is)? Is the current situation documented anywhere? I do miss the ability to mount my photos read-only. I kind of value them! /A -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] OVERLAY_DIR and freevo cache --www-thumbs
john.molo...@gcd.ie said: Did you resolve this? John Nope. Got any suggestions? /A -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] OVERLAY_DIR and freevo cache --www-thumbs
Using freevo 1.9.0, I can't get cached www-thumbnails to be in the OVERLAY_DIR. fre...@tv ~ $ freevo cache -- --help Usage: Freevo Cache helper to delete unused cache entries and to cache all files in your data directories. If the --rebuild option is given, Freevo will delete the cache first to rebuild the cache from start. Caches from discs won't be affected --www-thumbs [ --recursive ] [ --directory=DIR ] will generate image thumbnails --video-thumbs [ --recursive ] [ --directory=DIR ] will generate video thumbnails --cropdetect [ --recursive ] [ --directory=DIR ] will generate mplayer crop options The directory option can be specified more than once, one per directory of file. WARNING: Caching needs a lot free space in OVERLAY_DIR. The space is also needed when Freevo generates the files during run time. Image caching is the worst. So make sure you have several hundred MB free! OVERLAY_DIR is set to /home/freevo/cache/vfs ^^They should go to /home/frevo/cache/vfs !!! fre...@tv ~ $ freevo cache --www-thumbs --rebuild --recursive checking web-server thumbnails.. 403 files 1/403 /media/images/foo/keb15.png Made image '/media/images/foo/.thumbs/keb15.png' @ 256 - (256, 182) ... but end up as in-tree subdirectories. Looking at the source, it seems to boil down to this function: def www_image_path(filename, subdir='.thumbs'): returns the path to the thumbnail image for a given filename dirname = os.path.dirname(filename) file_base, file_extn = os.path.splitext(filename) file_extn = file_extn.lower() if file_extn == .gif: file_extn = .jpg # the filename extension needs to be lowercase for imlib2 but we need to # keep the original filename for cache to be able to clean the files imagename = os.path.basename(file_base).lower() + file_extn #imagepath = vfs.getwwwoverlay(imagename) imagepath = os.path.join(dirname, subdir, imagename) return imagepath which has the overlay related stuff commented out. Is this a typo, or made deliberately because it's known to be broken somehow? /Anders -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] player for streaming
morte...@ifi.uio.no said: Interesting idea. I'd be very interested to hear your results, Well, so far all diappointments come from freevo, I'm sorry to say. I decided to go wmv, after having googled up a solution (there is a -playlist uri way to start mplayer which fixes the looping). On the freevo side, however, I'm unable to find a way to tell it to add -playlist at the last argument before the uri in the mplayer command line. There is something called playlists/ referred to in various freevo howtos, but they all differ in the exact format to use in the fxd. To make matters even more confused, the video/plugins/mplayer.py file has handling for something called playlists in fxds, _but_ its implementation is a -playlist argument in the middle of the mplayer command line (and that makes mplayer error out). I'm currently at a loss for understanding the fxd format (is there an authoritative DTD somewhere? All I've found is fragments). Judging from the source, I'm inclined to believe that asx playlist handling (i.e. -playlist uri) is unsupported by freevo. I just might end up hacking the source to add this feature myself one day. The actual screen scraping of the site is done. I have 3 10-line perl scripts which creates ~500 fxd files. I just need to convince freevo to do the right thing with the fxds. -Anders -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] player for streaming
I'm currently writing a script to write fxd files for all of http://svtplay.se/ . The site exposes the media in wmv and flash formats and I wonder how I can best tell freevo to stream the media. For whatever reasn mplayer dislikes the wmv files (starts looping), so I'm looking at using the flash. That in turn requires someting like rtmpdump -o - -r $URI | mplayer - Any ideas how I can fixup the fxd and/or local_conf.py to do this? My reading of local_conf.py suggests that player selection is based on file name extension, and this a URI (without flv extension). -Anders -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Firefox using remote control
It's not quite caret browsing. Caret browsing has a cursor that you need to move around. If you have a button in each of the four corners, you'd have to use many clicks. It should be possible to cover them using only 4 clicks, as it is in Lynx. /Anders -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Firefox using remote control
Slightly off topic, but I guess this is where the experts sit. I've created a menu entry to start firefox, but I cannot find a good way to control it. I envision that the preferred mode is lynx mode, i.e. you're able to move around between the clickable items using LEFT/RIGHT UP/DOWN on the remote and you don't have a freely moving mouse pointer. I expect this mode of operation to be faster than juggling a mouse pointer with the remote. Anyone know if FF can be configured for this? Secondly, I'm at a loss for configuring the .lircrc file for this. I've tried to do mouse emulation using lircmd (and ff gets the events ok), but they get fed to freevo too, which makes navigating the menu system impossible (double events etc). If any you can share success stories on this, I'd be grateful. -Anders -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] bluetooth send plugin
robertwin...@casema.nl said: Just wondering if anyone already made an plugin to send files to a phone with bluetooth. What I had in mind was select a file (audio/video/image), press 'e' or the ENTER button on your remote and select your trusted device or scan for new devices and select those (pin exchange) and transfer.. Sounds like a good plugin to have! I do exactly this manually right now, compressing movies with ffmpeg and sending using obexftp. Cellphones are picky on codecs etc in an mp4 stream, so after some googling I came up with this for my SonyEricsson phones: ffmpeg -threads 2 -y -i INFILE -acodec libfaac -ac 1 -vol 512 -ab 72k -s 320x240 -vcodec libx264 -b 250k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 350 -keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 -directpred 3 -r 10 OUTFILE.mp4 You might find it useful. /Anders -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo multi-seat config, booting into freevo
dan...@pocock.com.au said: I've added some notes to the wiki about how I boot into freevo (using a gdm Init script), and also how I'm using a multi-seat configuration: http://doc.freevo.org/BootFreevo Any feedback on either of these topics or the scripts I've provided would be welcome. As I've been looking into this recently, I appreciate the writeup. However, it doesn't speak about runing freevo as non-root. This is rather critical imho, as it's a big chunk of code, forking lots of other stuff. I hope you agree. I was looking into using start-stop-daemon to exec the recordserver and webserver as a dedicated user, but got stuck. It seems s-s-d assumes that a daemon instance can be identified by its binary's name, but in freevo's case that's python, and the rest is just arguments with no meaning to s-s-d. freevo5300 14.3 0.6 24716 12652 pts/1D19:51 0:00 python /usr/lib/python2.5/site-packages/freevo/helpers/webserver.py freevo5305 14.3 0.6 25332 13008 pts/1D19:51 0:00 python /usr/lib/python2.5/site-packages/freevo/helpers/recordserver.py s-s-d also supports handling daemons by checking their pids, but afaict we don't generate pid files. :-( It also seems that freevo relies on stuff being set in the environment (HOME and/or USER, afaict), and that's somewhat untraditional for damons. I can certainly see the case for it when running interactively though. Is there any way I've not discovered to control the webserver and recordserver from init.d scripts, like traditional daemons? Is there a writeup of what the freevo process expect to inherit from its parent (env, cwd, ...)? -Anders -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo multi-seat config, booting into freevo
dan...@pocock.com.au said: If you look at my script, you will see that the freevo process is started as the user `freevo' using the su command, so it does not get to keep the root privileges of gdm I guess we're not looking at the same thing. Where is the su'ing done? $ grep -r su /tmp/freevo-1.8.2/boot/* /tmp/freevo-1.8.2/boot/boot_config:# a log used to catch errors when freevo startsup /tmp/freevo-1.8.2/boot/boot_config:# needed, Freevo will start a X server on its own. Make sure your X /tmp/freevo-1.8.2/boot/freevo:echo -n Hard kill to be sure: /tmp/freevo-1.8.2/boot/gentoo-conf.d:# Before using this, make sure your settings in /etc/freevo are correct. /tmp/freevo-1.8.2/boot/gentoo-conf.d:# needed, Freevo will start a X server on its own. Make sure your X /tmp/freevo-1.8.2/boot/recordserver:# and edited to suit your needs. /tmp/freevo-1.8.2/boot/recordserver_init:# and edited to suit your needs. /tmp/freevo-1.8.2/boot/webserver:# and edited to suit your needs. /tmp/freevo-1.8.2/boot/webserver_init:# and edited to suit your needs. dan...@pocock.com.au said: The Debian packages implement recordserver and webserver as daemons - have you had a look at that? You're referring to stuff that lives in debian repos, or something else? I'll have to track them down somehow. I'm on gentoo myself. -Anders -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo as MyTube?
jei...@gmail.com said: I kinda like the idea, most (Mac, Win, Linux x86*) support flash and it would be one less plugin to install (especially on another computer that you don't maintain). That's the thinking. The down side is that it has a limit on file support. the VLC Web plugin supports most formats , there for more flexible. Flowplayer list flv and mp4 files as supported. with mpeg4 and h264 as supported codecs. I was kind of hoping that (flv) encoded versions of the streams could live in a $cache directoy somewhere, and either be prepared in advance (e.g. post recording job), or on demand. Being a bit new to this, would the variants fxd field possibly play a role here? I'm not sure if this is good to include it in the release, however it shouldn't be to hard to create a patch for those that would like. Don't hold up any release for this. /A -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo as MyTube?
ehi...@gmail.com said: A couple of points come to mind after reading this. Your target attempts. If you are wanting video over the web, then I would really look at another project for that and run a dedicated webserver for it. Care to explain why? Securiy, or other reasons? The first thing that comes to mind is to use mplayer to post process your videos to swf (flash), kinda like what youtube does, then have an .sap page on a secured webserver that presents a list of a available videos. Click on the link it opens a page with the embedded flash. Sounds simple enough. However, that list of files would need its own prettifying to look good, incl the info you get in the fxd, to be useful. That's why I'd prefer to access the recorded content using the freevo (web)gui. Assuming you access it over ssl, are there other _real_ security issues involved? /A -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo as MyTube?
Forgot this part, ehi...@gmail.com said: Targeting Cell-phones is going to need some serious small stream or flash. The problem with something encoding to adapt to bandwidth is that the image quality would have to fluctuate and that would be a terrible viewing experience: bigger pipe, better quality; smaller pipe, lower quality. This is also a reason cell-phone video is both small and often crappy. It's not unusual to get 300kbps on 3G around here. I've encoded tv shows down to 300kbps and regularly play them back on my cellphone with acceptable experience (eg. you can read the subtitles). I hear Darwin is a good streaming server and it does the bw adaptation etc. I'll have to wire it up and see what happens. /A -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] freevo as MyTube?
john.molo...@gcd.ie said: holes but it is not a hardened application. You will want to be sure you are not running it as root if you are letting it talk to the world. Evan I'd like to think that goes without saying but maybe not! Of course! However, seeing all the threads and forum posts on the net about the right ways to start freevo, it really made me wonder. It seems the consensus is to use the freevoboot thing, which (afaict) assumes interactive usage. I would have thought that starting the deamons from the system's init scripts (dropping privs, of course) was the natural thing to do. /A -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] freevo as MyTube?
Hi there, Is there a way to play material from freevo's web interface in a streamed fashion? Kind of adding my own youtube interface to it. I haven't seen any such plugin, and I wonder if it's a good idea to get something like http://flowplayer.org/ integrated. -Anders -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Freevo as non-root?
I'm a newbie around here... What's the recommended way to run freevo as non-root? If I understand things right, I'd like to run recordserver and webserver as non-root, but start/stop as any other daemon. I'm running the gentoo, and the packager seems to want UI and deamons to always start together and (hence) more or less interactively. I'd rather have the deamons up 24/7 and just the UI when needed. /Anders -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] commercial detection/removal runs, but does nothing
b...@thebiermans.org said: As an aside, with both freevo and mythtv, I find getting sound to work well (both in live viewing and in recording) to be inordinately difficult. I consider myself to be extremely competent when it comes to computers, and I wasn't able to get sound working in my freevo recordings, or at all in mythtv. Someone really should make some sort of idiot-proof script that allows for some automatic testing or sanity checking or something! Freevo is way more transparent than mythtv in that it lets you see how it uses helpers, if any. Get livetv runing using mplayer and the commandline first. _Then_ look at integrating the result in freevo. What tripped me in the auto area is that I need to set the immediatemode flag to get audio routed right. Rather staightforward to integrate into your local config file. (Says a freevo newbie who left myth due to lack of tranparency). /Anders -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Lingering LCD shutdown message?
When shutting down freevo, the LCD message says shutdown forever. Anybody know how this message can be removed? I run the recordserver and the webserver in the background, so I guess one of them is holding the tcp connection to LCDd open with that message on the LCD. :-( /Anders -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users