Hi,
Is it possible to affect the song ordering in the UPnP module in Moode?
I'm guessing it reads the mp3tags information whereas I'd like it to play alphabetically.
Thanks
RobH
Ok - so looks like http://www.mp3tag.de/en/download.html will do it. Leaving the post here in case anyone else has the same issue.
https://forums.mp3tag.de/index.php?showtopic=9143
Is it possible to affect the song ordering in the UPnP module in Moode?
I'm guessing it reads the mp3tags information whereas I'd like it to play alphabetically.
Thanks
RobH
Ok - so looks like http://www.mp3tag.de/en/download.html will do it. Leaving the post here in case anyone else has the same issue.
https://forums.mp3tag.de/index.php?showtopic=9143
Last edited:
Tim, neither of mine are overclocked. I haven't experimented at all in that direction. Is it safe? Will I set my gf's curtains on fire?
Tim, neither of mine are overclocked. I haven't experimented at all in that direction. Is it safe? Will I set my gf's curtains on fire?
Hi Andrew,
I use the settings below on Pi-1B and 2B for 1GHz OC and have never had any issues but YMMV. Each setting is described at the following link.
https://www.raspberrypi.org/documentation/configuration/config-txt.md
Pi-1B 512MB
force_turbo=1
arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=6
Pi-2B 1GB
force_turbo=1
arm_freq=1000
core_freq=500
sdram_freq=450
over_voltage=2
-Tim
Whats the best way to start (and ensure cron is up and running on my pi)? Looking through this thread the answer seems to be
Is that right? I am trying to execute a script cpl of times a day, and I was able to edit the crontab file, but when I check the cron status its always inactive.
Code:
sudo systemctl enable cron
Is that right? I am trying to execute a script cpl of times a day, and I was able to edit the crontab file, but when I check the cron status its always inactive.
Whats the best way to start (and ensure cron is up and running on my pi)? Looking through this thread the answer seems to be
Code:[B]sudo systemctl enable cron[/B]
Is that right? I am trying to execute a script cpl of times a day, and I was able to edit the crontab file, but when I check the cron status its always inactive.
Hi,
Yes, "enable" will result in cron starting during boot up.
-Tim
I am still without airplay unless I start it manually.
My moode log says it started
But it does not appear on the network.
I have to kill the process and restart it like so:
How does moode start shairport?
I looked in /etc/shairport-sync.conf but it's all commented out code so nothing special is in there.
I tried to look in moode.log, syslog, daemon.log but no evidence there.
I have searched the entire moode codebase for the initializiation of shairport-sync but cannot find the script. (silver searcher is a lot faster than grep and easily installed on the pi.)
Help?
My moode log says it started
Code:
20161010 113134 worker: (/usr/local/bin/shairport-sync -a "Moodey Airplay" -S soxr -w -B /var/www/command/spspre.sh -E /var/www/command/spspost.sh --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d hw:1 -c
"" > /dev/null 2>&1 &)
20161010 113134 worker: Airplay receiver started
But it does not appear on the network.
I have to kill the process and restart it like so:
Code:
pi@moode:~ $ sudo killall shairport-sync
pi@moode:~ $ sudo /usr/local/bin/shairport-sync -vv -a "Moodey Airplay" -S soxr -w -B /var/www/command/spspre.sh -E /var/www/command/spspos
t.sh --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d hw:1
How does moode start shairport?
I looked in /etc/shairport-sync.conf but it's all commented out code so nothing special is in there.
I tried to look in moode.log, syslog, daemon.log but no evidence there.
I have searched the entire moode codebase for the initializiation of shairport-sync but cannot find the script. (silver searcher is a lot faster than grep and easily installed on the pi.)
Help?
The terminal where I manually started shairport says this when I switch my iphone to airplay to the moode:
and after a few seconds it starts saying this
It looks like packets are going to the moode, but no sound is coming out.
When I switch the airplay back to the iphone, music starts coming out of the phone and the terminal says this:
So two problems:
1) in the default config, moode is starting shairplay-sync with the wrong call for my config (RPi 3 ->iDSD->headphones) so it does not appear as an airplay receiver on my LAN
2) moode is not sending sound out the usb port when I initialize shairplay-sync manually with the command above.
What else can I do to troubleshoot this?
Code:
New RTSP connection from [fe80::1838:f400:fc2e:709c]:54362 to self at [fe80::f21f:94d5:24f:f1e3]:5000.
New RTSP connection from 192.168.3.47:54363 to self at 192.168.3.41:5000.
Play connection from user agent "AirPlay/301.44.3".
Active-Remote string seen: "1592857777".
DACP-ID string seen: "5113A51E15316A76".
User-Agent is AirPlay; selecting the AirPlay latency of -1 frames.
rtp_setup: cport=65101 tport=62175.
Set up play connection from fe80::1838:f400:fc2e:709c to self at fe80::f21f:94d5:24f:f1e3.
listening for audio, control and timing on ports 6001, 6002, 6003.
Closing down RTSP conversation thread...
RTSP conversation thread terminated.
Audio receiver -- Server RTP thread starting.
Control receiver -- Server RTP thread starting.
Timing receiver -- Server RTP thread starting.
Timing sender thread starting.
volume: -21.002514
syncing to seqno 43097.
syncing to seqno 43113.
and after a few seconds it starts saying this
Code:
Packet reception interval stats: mean, standard deviation and max for the last 2,500 packets in microseconds: 7971.8, 13865.0, 111522.0.
Packet reception interval stats: mean, standard deviation and max for the last 2,500 packets in microseconds: 8012.3, 13933.7, 176061.0.
Packet reception interval stats: mean, standard deviation and max for the last 2,500 packets in microseconds: 7933.5, 14243.8, 88474.0.
Packet reception interval stats: mean, standard deviation and max for the last 2,500 packets in microseconds: 7990.5, 18921.8, 97997.0.
It looks like packets are going to the moode, but no sound is coming out.
When I switch the airplay back to the iphone, music starts coming out of the phone and the terminal says this:
Code:
RTSP shutdown requested.
Closing down RTSP conversation thread...
Shut down audio, control and timing threads
Control RTP thread interrupted. terminating.
Timing thread interrupted. terminating.
Audio receiver -- Server RTP thread interrupted. terminating.rtp_timing_sender thread interrupted. terminating.
Closed and terminated timer requester thread.
Timing RTP thread terminated.
timing thread joined
audio thread joined
control thread joined
Player thread exit
Execution of on-stop command failed to start
Error executing on-stop command /var/www/command/spspos
shutting down RTP thread
RTSP conversation thread terminated.
So two problems:
1) in the default config, moode is starting shairplay-sync with the wrong call for my config (RPi 3 ->iDSD->headphones) so it does not appear as an airplay receiver on my LAN
2) moode is not sending sound out the usb port when I initialize shairplay-sync manually with the command above.
What else can I do to troubleshoot this?
Hi,
You could post the question to shairport-sync Github issues list
https://github.com/mikebrady/shairport-sync/issues
-Tim
Hi Tim,
With the help of Klausi69 the problem has been reported to Mike Brady who maintains shairport-sync and he has just pushed a new pre-release – 2.8.6 – with the necessary change made:
https://github.com/mikebrady/shairport-sync/issues/391
Could you check this out and produce a patch when you can find the time? I'd be happy to test any changes that you might make.
Many thanks.
Hi Tim,
With the help of Klausi69 the problem has been reported to Mike Brady who maintains shairport-sync and he has just pushed a new pre-release – 2.8.6 – with the necessary change made:
https://github.com/mikebrady/shairport-sync/issues/391
Could you check this out and produce a patch when you can find the time? I'd be happy to test any changes that you might make.
Many thanks.
Hi,
Sure no prob, I'll compile it and if u send me email I'll send you the binary for testing. It can simply be copied to /usr/local/bin replacing the existing version.
-Tim
Hi,
Sure no prob, I'll compile it and if u send me email I'll send you the binary for testing. It can simply be copied to /usr/local/bin replacing the existing version.
-Tim
I'll be away on business for a couple of days, but I'll test when I get back.
Many thanks
Can anyone help me setup a cron job- I tried a few things but nothing seems to work and I am not sure why.
Basically, I found a few shell scripts which use mpd commands to play playlists. These scripts also have the options to define playlists to be selected, start time, stop time and allow gradual volume increase/decrease.
I have used these before and I know the scripts are working right because I see the features I want whenever execute the script via command line. However, when I try to setup the execution of these via crontab, nothing happens.
I can see crontab-l list the command. I have tried several online websites to verify the crontab timing logic (which day, time etc) to execute the command, but no luck there too. Even after the
command, when I do
I see the following:
I could be doing something pretty stupid but I cant figure out what.. any help here?
Basically, I found a few shell scripts which use mpd commands to play playlists. These scripts also have the options to define playlists to be selected, start time, stop time and allow gradual volume increase/decrease.
I have used these before and I know the scripts are working right because I see the features I want whenever execute the script via command line. However, when I try to setup the execution of these via crontab, nothing happens.
I can see crontab-l list the command. I have tried several online websites to verify the crontab timing logic (which day, time etc) to execute the command, but no luck there too. Even after the
Code:
sudo systemctl enable cron
Code:
service crond status
Code:
● crond.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
I could be doing something pretty stupid but I cant figure out what.. any help here?
Can anyone help me setup a cron job- I tried a few things but nothing seems to work and I am not sure why. .....after thecommand,Code:sudo systemctl enable cron
...
try this:
Code:
pi@moode:/etc/init.d $ sudo systemctl restart cron
pi@moode:/etc/init.d $ systemctl status cron
So I guess cron is runningtry this:
Code:pi@moode:/etc/init.d $ sudo systemctl restart cron pi@moode:/etc/init.d $ systemctl status cron
Code:
cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled)
Active: active (running) since Mon 2016-10-10 22:16:04 EDT; 27s ago
Docs: man:cron(8)
Main PID: 6577 (cron)
CGroup: /system.slice/cron.service
└─6577 /usr/sbin/cron -f
How do I figure out why the crontab -e didnt work then?
...
How do I figure out why the crontab -e didnt work then?
sorry but I am a linux noob. I reproduced your problem and googled for an hour until I found the solution. Now, as to WHY, that is a deeper question beyond my knowledge base.
Haha.. thanks for that... I appreciate the help!sorry but I am a linux noob. I reproduced your problem and googled for an hour until I found the solution. Now, as to WHY, that is a deeper question beyond my knowledge base.
I have Moode running on a Pi Zero and using a Phat DAC. I get audio through earbuds,but not through a test speaker I'm using? https://thepihut.com/products/mini-portable-speaker-for-the-raspberry-pi
Are there a reason it shouldn't work?
Are there a reason it shouldn't work?
The speaker is using the male to male 3.5 audio cable and the earbuds is just using the plug connector. I am plugging them into the audio out jack on the phat dac.
https://shop.pimoroni.com/products/phat-dac
https://shop.pimoroni.com/products/phat-dac
correct l2S configuration for X400 expansion board
This is DAC+amplifier combo, reportedly works in moodeaudio.
Installed on RPi2 but no sound.
A. what should be the correct l2S configuration?
B. should be hardware volume?
ordered here: https://www.amazon.com/gp/product/B0140P8PF2/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
appreciate any help.
This is DAC+amplifier combo, reportedly works in moodeaudio.
Installed on RPi2 but no sound.
A. what should be the correct l2S configuration?
B. should be hardware volume?
ordered here: https://www.amazon.com/gp/product/B0140P8PF2/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
appreciate any help.
Attachments
This is DAC+amplifier combo, reportedly works in moodeaudio.
Installed on RPi2 but no sound.
A. what should be the correct l2S configuration?
B. should be hardware volume?
ordered here: https://www.amazon.com/gp/product/B0140P8PF2/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
appreciate any help.
Are you using Moode 2.7, and have you tried the I2S setting for Suptronics x400? It's the same board, I think.
John
- Home
- Source & Line
- PC Based
- Moode Audio Player for Raspberry Pi