Thread: [Fremantle Maemo5] cuteNews - RSS news and podcast aggregator
View Single Post
nonsuch's Avatar
Posts: 584 | Thanked: 1,550 times | Joined on Sep 2019
#53
Originally Posted by Halftux View Post

Originally Posted by nonsuch View Post
Some enclosure downloads (audio podcasts) fail with cutenews' inbuilt capabilities
An example would be nice.
Here's another, quite different example.

The error message in the Download window is "Failed: Invalid argument".

No redirection this time, but a weird URL: "https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisode Id=810921169&orgId=1&d=300&p=500005&story=81092116 9&t=podcast&e=810921169&size=4500000&ft=pod&f=5000 05"
(source: https://www.npr.org/rss/podcast.php?id=500005)

The log:
Code:
2020-03-01T16:03:14: PluginManager::getConfigForEnclosure(). No Plugin found for enclosure https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005
2020-03-01T16:03:14: file:///opt/cutenews/qml/DownloadDialog.qml:56:13: QML Label: Binding loop detected for property "width"
2020-03-01T16:03:14: file:///opt/cutenews/qml/DownloadDialog.qml:56:13: QML Label: Binding loop detected for property "width"
2020-03-01T16:03:14: file:///opt/cutenews/qml/DownloadDialog.qml:56:13: QML Label: Binding loop detected for property "width"
2020-03-01T16:03:15: Transfers::addEnclosureDownload(). URL: https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005
2020-03-01T16:03:15: Transfer::setStatus(). ID: 0eac10f7-59ce-4b2c-9de0-06fea9b735e3, Status: Queued
2020-03-01T16:03:16: EnclosureDownload::startDownload(). URL: https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005
2020-03-01T16:03:17: Transfer::setStatus(). ID: 0eac10f7-59ce-4b2c-9de0-06fea9b735e3, Status: Failed: Invalid argument
2020-03-01T16:03:17: Transfers::save(). 1 transfers saved
With wget, I have to either specify a filename:
Code:
 $> wget "https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005" -O npr_news_03-01.mp3
--2020-03-01 16:05:19--  https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005
Resolving play.podtrac.com... 18.213.53.54, 34.196.186.246
Connecting to play.podtrac.com|18.213.53.54|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005 [following]
--2020-03-01 16:05:20--  https://edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005
Resolving edge1.pod.npr.org... 52.41.7.141, 52.42.159.223, 52.43.22.12, ...
Connecting to edge1.pod.npr.org|52.41.7.141|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://edge2.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3/newscast080812.mp3_a5d67f1441dbe2e75598bc7e9282a87d_4473020.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005&hash_redirect=1&x-total-bytes=4473020&x-ais-classified=download&listeningSessionID=0CD_382_60__30f5726f1d10f8fc0d1e9dd2e1fc3a0f0bfe053b [following]
--2020-03-01 16:05:21--  https://edge2.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3/newscast080812.mp3_a5d67f1441dbe2e75598bc7e9282a87d_4473020.mp3?awCollectionId=500005&awEpisodeId=810921169&orgId=1&d=300&p=500005&story=810921169&t=podcast&e=810921169&size=4500000&ft=pod&f=500005&hash_redirect=1&x-total-bytes=4473020&x-ais-classified=download&listeningSessionID=0CD_382_60__30f5726f1d10f8fc0d1e9dd2e1fc3a0f0bfe053b
Resolving edge2.pod.npr.org... 2600:9000:21dd:200:16:61a3:16c0:93a1, 2600:9000:21dd:8400:16:61a3:16c0:93a1, 2600:9000:21dd:cc00:16:61a3:16c0:93a1, ...
Connecting to edge2.pod.npr.org|2600:9000:21dd:200:16:61a3:16c0:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4473020 (4.3M) [audio/mpeg]
Saving to: ‘npr_news_03-01.mp3’

npr_news_03-01.mp3                                  100%[=========================>]   4.27M   608KB/s    in 9.6s    

2020-03-01 16:05:31 (457 KB/s) - ‘npr_news_03-01.mp3’ saved [4473020/4473020]
or shorten the URL:
Code:
$> wget "https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3"
--2020-03-01 16:11:45--  https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3
Resolving play.podtrac.com... 34.196.186.246, 18.213.53.54
Connecting to play.podtrac.com|34.196.186.246|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3 [following]
--2020-03-01 16:11:47--  https://edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3
Resolving edge1.pod.npr.org... 34.208.108.43, 34.218.166.10, 35.163.189.178, ...
Connecting to edge1.pod.npr.org|34.208.108.43|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://edge2.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3/newscast080812.mp3_a5d67f1441dbe2e75598bc7e9282a87d_4473020.mp3?hash_redirect=1&x-total-bytes=4473020&x-ais-classified=download&listeningSessionID=0CD_382_60__30f5726f1d10f8fc0d1e9dd2e1fc3a0f0bfe053b [following]
--2020-03-01 16:11:48--  https://edge2.pod.npr.org/anon.npr-mp3/npr/newscasts/2020/03/01/newscast080812.mp3/newscast080812.mp3_a5d67f1441dbe2e75598bc7e9282a87d_4473020.mp3?hash_redirect=1&x-total-bytes=4473020&x-ais-classified=download&listeningSessionID=0CD_382_60__30f5726f1d10f8fc0d1e9dd2e1fc3a0f0bfe053b
Resolving edge2.pod.npr.org... 2600:9000:21dd:7a00:16:61a3:16c0:93a1, 2600:9000:21dd:1000:16:61a3:16c0:93a1, 2600:9000:21dd:7c00:16:61a3:16c0:93a1, ...
Connecting to edge2.pod.npr.org|2600:9000:21dd:7a00:16:61a3:16c0:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4473020 (4.3M) [audio/mpeg]
Saving to: ‘newscast080812.mp3’

newscast080812.mp3                                  100%[==================================>]   4.27M   625KB/s    in 8.4s    

2020-03-01 16:11:58 (523 KB/s) - ‘newscast080812.mp3’ saved [4473020/4473020]
The resulting audio file is the same.
__________________
N900 in 2020
SFOS in 2021
 

The Following User Says Thank You to nonsuch For This Useful Post: