Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    18

    picorePlayer auto start and stop playing at specific times

    I could have sworn I had seen the answer to this at some point, but for the life of me I can't find it again.

    I would like to have piCorePlayer running on a pi zero W start and stop playing at specified times. For example start at 6:30am and then stop at 8am. I do have a separate LMS server running and I would potentially like to be able to select either a stream, or a playlist. I'm assuming I can do this with a cron job running on the piCore, but I have no idea what to specify for commands.

    Thanks

  2. #2
    Senior Member wl1's Avatar
    Join Date
    Jan 2007
    Location
    UK
    Posts
    118
    Quote Originally Posted by yorknh View Post
    I could have sworn I had seen the answer to this at some point, but for the life of me I can't find it again.

    I would like to have piCorePlayer running on a pi zero W start and stop playing at specified times. For example start at 6:30am and then stop at 8am. I do have a separate LMS server running and I would potentially like to be able to select either a stream, or a playlist. I'm assuming I can do this with a cron job running on the piCore, but I have no idea what to specify for commands.

    Thanks
    If running the pi zero W as a player - wouldn't the "Alarm" in LMS be what you are looking for?

  3. #3
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    3,256
    Quote Originally Posted by wl1 View Post
    If running the pi zero W as a player - wouldn't the "Alarm" in LMS be what you are looking for?
    Agree, a simple alarm should do this, just tested it.

    Name:  Alarm.jpg
Views: 102
Size:  47.6 KB
    Server - LMS 7.9.2 Pi4B 4GB/pCP 6.0.0-b6 18K library, playlists & LMS cache on SSD (ntfs)
    Study - Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite,
    Lounge - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
    Dining Room - Squeezebox Boom
    Garage - Pi3B/Pi screen/HiFiBerry DAC+/pCP 5.0.0 > Edifier R980T

    Spares - 2xTouch, 1xSB3, 1xRadio, 6xRPi

  4. #4
    Senior Member
    Join Date
    May 2017
    Posts
    587
    I think that the stopping part is the challenge
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  5. #5
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    3,256
    Quote Originally Posted by edwin2006 View Post
    I think that the stopping part is the challenge
    Not a bit!

    Name:  Alarm.jpg
Views: 101
Size:  43.7 KB
    Server - LMS 7.9.2 Pi4B 4GB/pCP 6.0.0-b6 18K library, playlists & LMS cache on SSD (ntfs)
    Study - Pi3B+/pCP 5.0.0/pi screen/HiFiBerry DAC+/jivelite,
    Lounge - Pi2/pCP 5.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
    Dining Room - Squeezebox Boom
    Garage - Pi3B/Pi screen/HiFiBerry DAC+/pCP 5.0.0 > Edifier R980T

    Spares - 2xTouch, 1xSB3, 1xRadio, 6xRPi

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,846
    Quote Originally Posted by edwin2006 View Post
    I think that the stopping part is the challenge
    Alarm timeout of up to 240 minutes should be OK as OP only asked for 90 minutes.

  7. #7
    Senior Member wl1's Avatar
    Join Date
    Jan 2007
    Location
    UK
    Posts
    118
    Yes, I think it meets what they are looking for....

    I have an alarm in my Kitchen Radio, timed so its on when passing through, to listen to traffic alerts, before leaving for the day...so lazy to even have to remember to turn it ON or OFF (after 10mins).

    Saved me numerous times.

  8. #8
    Junior Member
    Join Date
    Jul 2009
    Posts
    18
    Thanks everyone, I do believe that will do the trick for me.

  9. #9
    Senior Member
    Join Date
    May 2017
    Posts
    587
    Nice, never noticed the max time.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •