Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Witzman

Pages: [1]
Users / Setting up init script
« on: January 09, 2009, 10:20:31 pm »
I apologize for the IRC history, but it seems, that all informations are included here.

Please help me, if you can....
<Witzman> hi
<Witzman> can anyone help me with an init script which is not working?
<Witzman> i want to execute the flickrfetchr.rb script manually during boot, as it is not working for me putting the command in the orbiter plugin. so i created a shellscript in /etc/init.d
<Witzman> two problems:
<Witzman> 1. syntax of the script. what i have to put in the /etc/init.d/flickr file? currently i have:
<Witzman> #!/bin/bash
<Witzman> flickrfetchr.rb
<Witzman> and thats it
<Witzman> and 2. what i have to do to integrate the script in the boot process?
<Witzman> when running rcconf it says that the script is enabled
<Witzman> so it seems, that it calls the script, but something is wrong in the script
<Witzman> hm,
<Witzman> if i run "sudo /etc/init.d/flickr" the script starts up
is it executable?
<esperegu> hmm. I gues so if you run it manually
<Witzman> it seems so. because it starts, when starting it manually
<esperegu> don't you have to set a start link in the dirs of the different user levels?
<Witzman> maybe
<Witzman> but how? :)
<esperegu> like in /etc/rcX.d/
<esperegu> it's just a simlink
<Witzman> oehm... )
<esperegu> an S starts it a K stops it
<Witzman> i know, waht a symlink is, but not sure how to create one
<esperegu> and the number defines the order
<esperegu> ln -s
<Witzman> i want to have it executed before LinuxMCE starts up
<Witzman> so runlevel 3 or 4 is the right one, isnt it?
<esperegu> ln -s /target /link
<esperegu> not sure which level is default
<Witzman> wait
<Witzman> just saw, that there is a S20flickr file in etc/rc3.d
<Witzman> i already created it last week
<Witzman> but script doesnt start during boot
<Witzman> i checked with ps -auwwx | grep "flickrfetchr.rb"
<Witzman> ups
<Witzman> i checked with ps -auwwx | grep "flickr"
<esperegu> and it has right rights and user etc?
<Witzman> 1.  /etc/init.d/flickr  owner=root  group=root  permissions 755
<Witzman> 1.  /etc/rc3.d/S20flickr  owner=root  group=root  permissions 777
<esperegu> does'nt those script get started with start argument?
<Witzman> no
<Witzman> if i start it manually i dont need arguments and it fetches pics
<Witzman> its controlled via the config file
<esperegu> yeah. but I don't think they called without arguments.
<esperegu> maybe that's u problem
<esperegu> I think it get's the argument start
<Witzman> i can start with --verbose as argument and then i see all the dialoges, its running correct

sudo /etc/init.d/flickr start  starts the service  it fetches the files.

but why the autorun dont works???

Users / Add Commands / Rename Buttons on Orbiter (UI2)
« on: December 29, 2008, 10:22:33 am »

Is it possible to rename the standard buttons on the Orbiter.

I generated some scenarios (Internet Radios) and i am not using the Lightning Scenarios.

For now i added all my "Play Radio" buttons in this group.
Is it possible to rename the "Lights" or "Climate" button and let the Orbiter show up the text "Radio"

Thanks in advance,

Users / Need original script
« on: December 28, 2008, 02:00:50 pm »

I tried to modify the /urs/pluto/bin/ script with some editors and did something wrong. I even destroyed the backup file, so it is not receiving any pictures anymore.

Can please anyone paste the script or attach the file (better) to this post?

I also need the correct permission settings and owner information to restore it, as it is in the original installation.

Thanks in Advance,

Users / Problems with MCE remote
« on: December 13, 2008, 08:07:08 pm »

i cant get my new MCE remote working correctly.

LinuxMCE is 7.10

Problem description:
Only a few buttons work.
Up, Down, Left & Right are working.
These are the only recognized Buttons.
For example, the OK, Back & Home Button do not work.
This makes navigation impossible.

Can anyone please help me, how i have to configure the device?
Found some hints about updating lirc or configuring device templates in the forum & wiki, but idont know, where i should start for best results.
I am not completely new to LinuxMCE or ubuntu, but i am no guru - so please make your explainations a bit more detailed :)

This is the device:


I know, its not an original MCE remote, but in the included instruction WinMCE is refered and no driver is required there.

This are my settings in the admin section:

Big thanks & best regards,

Users / How to clean/rebuild the Media Database?
« on: December 05, 2008, 01:35:25 pm »

i recently added a bunch of short avi files to my library via the "resyncronise" button on the admin website -Media Files Sync.

After deleting them from the filesystem, the entrys are still visible in the UI. I even tried to resyncronize after the removal but they did not disappear. They are still in the UI.

Please, can anyone tell me, how to clean these entries from the DB or how to rebuild the complete thing.


Pages: [1]