LinuxMCE Forums
June 19, 2013, 12:26:42 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Script to play music from a playlist at start  (Read 1055 times)
super
Regular Poster
**
Posts: 29


View Profile
« on: February 21, 2008, 10:29:35 pm »

I plan to use the 'wake on alarm' feature of the motherboard to start/resume LMCE at a fixed time in the morning and/or evening. I want it to play music from a specified playlist at that time. Any ideas on how I can do this? If someone can provide directions and some samples, I can try it out and post the final script here. Thanks!

super
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #1 on: February 21, 2008, 11:01:56 pm »

You could create a scheduled event from the admin site and use the MH PlayMedia command to trigger the music. Set your hardware to power up a few minutes before the event is due to trigger. I noticed that there is an on and off event criteria as well - not sure but that could be as simple as a power on and off event so that could be even simpler - but would trigger every time you rebooted rather than just in the mornings when you want it...
Logged
super
Regular Poster
**
Posts: 29


View Profile
« Reply #2 on: February 23, 2008, 09:45:09 am »

Colin,

I tried to access the admin webpage http://dcerouter/pluto-admin
I tried user: linuxmce  password: linuxmce (which is the default, I haven't changed anything)
but it doesn't accept. Do I need to login with a different ID?

super
Logged
niz23
Guru
****
Posts: 361


View Profile
« Reply #3 on: February 23, 2008, 10:40:45 am »

super.

Colin,

I tried to access the admin webpage http://dcerouter/pluto-admin
I tried user: linuxmce  password: linuxmce (which is the default, I haven't changed anything)
but it doesn't accept. Do I need to login with a different ID?

super

The user for webadmin is set during install.
It depends on the name you set for your first user.
By default your password is the same as your first users name with the with one difference. First letter is replaced with a capital one.

Like:
user: niz23
pass: Niz23

User linuxmce is only valid when you access your system from console or through ssh.

/niz23
Logged
colinjones
Alumni
LinuxMCE God
*
Posts: 3003


View Profile
« Reply #4 on: February 23, 2008, 01:24:48 pm »

thanks niz - but I don't get the capital thing. My logins have always been colin and colin - no capitals at all. I believe this is the norm...
Logged
niz23
Guru
****
Posts: 361


View Profile
« Reply #5 on: February 23, 2008, 03:42:41 pm »

thanks niz - but I don't get the capital thing. My logins have always been colin and colin - no capitals at all. I believe this is the norm...

My bad...
Always created my users with a capital letter from the beginning.


/niz23
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!