Posts: 568
Threads: 5
Joined: Mar 2020
Reputation:
31
(07-19-2020, 10:54 PM)Tim Curtis Wrote: (07-19-2020, 10:00 PM)fdealexa Wrote: Hello everybody,
as usual a very good job.
I have a question: is there any instruction about the sintax of the cfg_radio.csv?
I have some dubts on the use of the " (quotation marks) and the needs to keep the deleted records: in other words if I create a new cfg_radio.csv with the correct record number may I replace some existing radio?
Is the 499 record a MUST or may I expand the radio's number more than 500?
Thanks again for the great job and best regards to everybody,
Francesco
Are you are using the Import/Export station feature?
As Kent said the double quotes are required by SQL. It's to handle strings containing embedded spaces and other special characters. If the string contains double or single quotes then there is a special way of designating them which I can't recall ATM.
Example
Code: 127,http://ice1.somafm.com/bagel-128-aac,"Soma FM - BAGeL Radio",s,local,"Alternative Rock","Soma FM",English,"United States","North America",128,AAC
Leave record ID 499 in the file. It's a reserved record to designate the highest ID for moOde's predefined stations. User added stations, those added via the UI + button would start at ID >= 500.
Thanks a lot, Tim.
I will try, as suggested by Kent, and I will disturb again if needed.
Thank againg and best regards,
Francesco
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
(07-19-2020, 10:14 PM)HemiRick Wrote: Both of my copies of Moode 6.6 do not show an update being available?
Thats odd. Maybe a browser cache issue or a Browser add in thats blocking zip downloads?
Try this URL as a test. It's the same one that the UI uses and it should download the update zip file to your downloads folder. http://moodeaudio.org/downloads/update-r600.zip
Posts: 82
Threads: 10
Joined: Dec 2018
Reputation:
2
07-19-2020, 11:11 PM
(This post was last modified: 07-20-2020, 02:59 AM by HemiRick.)
(07-19-2020, 11:06 PM)Tim Curtis Wrote: (07-19-2020, 10:14 PM)HemiRick Wrote: Both of my copies of Moode 6.6 do not show an update being available?
Thats odd. Maybe a browser cache issue or a Browser add in thats blocking zip downloads?
Try this URL as a test. It's the same one that the UI uses and it should download the update zip file to your downloads folder. http://moodeaudio.org/downloads/update-r600.zip
Ah Malwarebytes dont like your URL anymore and is blocking it. Even after turning off Malwarebytes it still wont show update available. anyway to use the DL'ed zip file? Where do I need to put it in Moodes file system?
My pihole DNS server shows Moode accessing this URL d3oddxvgenziko.cloudfront.net and that gets a 403 error
Posts: 82
Threads: 10
Joined: Dec 2018
Reputation:
2
07-20-2020, 01:51 AM
(This post was last modified: 07-20-2020, 01:59 AM by HemiRick.)
Obviously the malwarebytes was blocking my windows machine from your URL but I dont understand whats stopping the Pi3's..There is no network wide blocklist except for what my Router does, its config has not changed....this makes little to no sense to me ATM.
Posts: 13,450
Threads: 305
Joined: Mar 2018
Reputation:
545
moOde in-place updates are hosted on Amazon CloudFront. If that URL is failing on your end then there is something misconfigured on your network or hosts.
Posts: 82
Threads: 10
Joined: Dec 2018
Reputation:
2
07-20-2020, 03:02 AM
(This post was last modified: 07-20-2020, 04:14 AM by HemiRick.)
(07-20-2020, 02:07 AM)Tim Curtis Wrote: moOde in-place updates are hosted on Amazon CloudFront. If that URL is failing on your end then there is something misconfigured on your network or hosts.
when I open a SSH term on Moode and type the wget command I get:
wget http://moodeaudio.org/dowloads/update-r600.zip
--2020-07-19 23:11:44-- http://moodeaudio.org/dowloads/update-r600.zip
Resolving moodeaudio.org (moodeaudio.org)... 23.235.199.139
Connecting to moodeaudio.org (moodeaudio.org)|23.235.199.139|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-19 23:11:44 ERROR 404: Not Found.
The weird part of this is my other Pi3 on the same network that runs pihole downloads the file fine.....
Posts: 451
Threads: 11
Joined: Sep 2019
Reputation:
28
(07-20-2020, 03:02 AM)HemiRick Wrote: (07-20-2020, 02:07 AM)Tim Curtis Wrote: moOde in-place updates are hosted on Amazon CloudFront. If that URL is failing on your end then there is something misconfigured on your network or hosts.
when I open a SSH term on Moode and type the wget command I get:
wget http://moodeaudio.org/dowloads/update-r600.zip
--2020-07-19 23:11:44-- http://moodeaudio.org/dowloads/update-r600.zip
Resolving moodeaudio.org (moodeaudio.org)... 23.235.199.139
Connecting to moodeaudio.org (moodeaudio.org)|23.235.199.139|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-19 23:11:44 ERROR 404: Not Found.
The weird part of this is my other Pi3 on the same network that runs pihole downloads the file fine.....
"dowloads"
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
(07-20-2020, 06:33 AM)vinnn Wrote: (07-20-2020, 03:02 AM)HemiRick Wrote: (07-20-2020, 02:07 AM)Tim Curtis Wrote: moOde in-place updates are hosted on Amazon CloudFront. If that URL is failing on your end then there is something misconfigured on your network or hosts.
when I open a SSH term on Moode and type the wget command I get:
wget http://moodeaudio.org/dowloads/update-r600.zip
--2020-07-19 23:11:44-- http://moodeaudio.org/dowloads/update-r600.zip
Resolving moodeaudio.org (moodeaudio.org)... 23.235.199.139
Connecting to moodeaudio.org (moodeaudio.org)|23.235.199.139|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-19 23:11:44 ERROR 404: Not Found.
The weird part of this is my other Pi3 on the same network that runs pihole downloads the file fine.....
"dowloads"
Well spotted !
----------
bob
Posts: 6,030
Threads: 177
Joined: Apr 2018
Reputation:
235
(07-19-2020, 11:11 PM)HemiRick Wrote: (07-19-2020, 11:06 PM)Tim Curtis Wrote: (07-19-2020, 10:14 PM)HemiRick Wrote: Both of my copies of Moode 6.6 do not show an update being available?
Thats odd. Maybe a browser cache issue or a Browser add in thats blocking zip downloads?
Try this URL as a test. It's the same one that the UI uses and it should download the update zip file to your downloads folder. http://moodeaudio.org/downloads/update-r600.zip
Ah Malwarebytes dont like your URL anymore and is blocking it. Even after turning off Malwarebytes it still wont show update available. anyway to use the DL'ed zip file? Where do I need to put it in Moodes file system?
My pihole DNS server shows Moode accessing this URL d3oddxvgenziko.cloudfront.net and that gets a 403 error
Maybe that PiHole DNS server has something to do with this? Or maybe it's one of those regional burbles in DNS services that happen all the time?
Here in Maryland I just replicated manually the steps executed in /var/www/command/updater.sh. Here's a snippet, (where I inserted a debug option in the wget command):
Code: # first read the moOde database to set URL=http://d3oddxvgenziko.cloudfront.net
pi@moodeLR:~ $ wget -d $URL/update-r600.zip
DEBUG output created by Wget 1.20.1 on linux-gnueabihf.
Reading HSTS entries from /home/pi/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'update-r600.zip' (UTF-8) -> 'update-r600.zip' (UTF-8)
--2020-07-20 08:00:51-- http://d3oddxvgenziko.cloudfront.net/update-r600.zip
Resolving d3oddxvgenziko.cloudfront.net (d3oddxvgenziko.cloudfront.net)... 99.84.216.8, 99.84.216.212, 99.84.216.101, ...
Caching d3oddxvgenziko.cloudfront.net => 99.84.216.8 99.84.216.212 99.84.216.101 99.84.216.61 2600:9000:2199:1a00:13:aedd:f200:21 2600:9000:2199:f800:13:aedd:f200:21 2600:9000:2199:c000:13:aedd:f200:21 2600:9000:2199:3000:13:aedd:f200:21 2600:9000:2199:3200:13:aedd:f200:21 2600:9000:2199:cc00:13:aedd:f200:21 2600:9000:2199:6000:13:aedd:f200:21 2600:9000:2199:f600:13:aedd:f200:21
Connecting to d3oddxvgenziko.cloudfront.net (d3oddxvgenziko.cloudfront.net)|99.84.216.8|:80... connected.
Created socket 3.
Releasing 0x0032bac0 (new refcount 1).
---request begin---
GET /update-r600.zip HTTP/1.1
User-Agent: Wget/1.20.1 (linux-gnueabihf)
Accept: */*
Accept-Encoding: identity
Host: d3oddxvgenziko.cloudfront.net
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Content-Type: application/zip
Content-Length: 25320306
Connection: keep-alive
Date: Mon, 20 Jul 2020 12:00:51 GMT
Server: Apache
Last-Modified: Sun, 18 Aug 2019 15:50:52 GMT
Accept-Ranges: bytes
X-Cache: Miss from cloudfront
Via: 1.1 5d9ef69d47a63c80a41bbcf6902f6312.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: IAD79-C1
X-Amz-Cf-Id: WmHK8KpAehN-o09ympPHBZrySPj_E5XEMH5Eh5g6NXQqJUL0iIZNIg==
---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 25320306 (24M) [application/zip]
Saving to: ‘update-r600.zip’
update-r600.zip 100%[===================>] 24.15M 7.50MB/s in 3.2s
2020-07-20 08:00:54 (7.51 MB/s) - ‘update-r600.zip’ saved [25320306/25320306]
Regards,
Kent
Posts: 82
Threads: 10
Joined: Dec 2018
Reputation:
2
ok Corrected the typo and the file downloads fine from the Moode ssh window.......now the question is why wont the Moode app dl the file? Now that I have the file how do I use it? What command makes it do the update?
|