So i have the Mixcloud app installed on LMS and never needed to mess with this on the Touch it just worked.
But on my recently purchased Transporter i get the error message
"UNABLE TO PLAY FILE TYPE FOR ____"
the only way i can get this is to work is use my Touch and the transporter as a DAC which is not what is required
maybe someone could shed some light on this?
Results 1 to 10 of 76
-
2019-09-08, 12:06 #1
- Join Date
- Sep 2014
- Posts
- 53
Transporter + Mixcloud UNABLE TO PLAY FILE TYPE
-
2019-09-08, 12:57 #2
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,916
The error may or may not be associated with the use of Mixcloud - you have provided no detail of the system and what is being attempted - e.g. audio format being played, the LMS version being used, OS platform etc.
The error means that the Transporter cannot play the audio format natively and it must be transcoded bu the specific transcode capability is either disabled or not working on your LMS.
For example, Transporter cannot play AAC natively so for AAC or ALAC audio you'll need to make sure that the LMS supplied faad and flac work and that AAC under WebUI Setting/Advanced/AAC have all rules enabled - none shoudl eb disabled.
Another possibility if trying to play a stream with too high a bit rate e.g. 192kHz as Transporter can only play up to 96kHz - in this case you must make sue the LMS supplied sox works OK.
-
2019-09-08, 13:24 #3
For info - this from github:
PLUGIN_MIXCLOUD_PLAYMETHOD_DESc
EN All tracks are available in MP4 format, and selecting a track is fast. However, MP4 does not work natively on old Squeezebox models, and must be transcoded for those players. MP3 has a better sound quality, but loading a track takes a long time, and not all tracks are available in MP3 format.Server - LMS 8.2.0 Pi4B 4GB/Argon one case/pCP v7.0.0 - 74K library, playlists & LMS cache on SSD (ntfs)
Study - Pi3B/pCP 7.0.0/pi screen/Hifiberry DAC HAT Ruark MR1 Mk2
Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
Garage - Squeezebox Boom + Fostex sub
Dining Room - Pi3B/Bluetooth/Echo Show 8
Spares - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi
-
2019-09-08, 14:02 #4
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,916
-
2019-09-09, 01:10 #5
- Join Date
- Sep 2014
- Posts
- 53
LMS 7.9.1
OP Sys Red Hat Transporter firmware 87, Touch 7.8
when the Touch is connected to the LMS it has no problem playing Mixcloud but alas Transporter comes up with the error "UNABLE TO PLAY FILE TYPE FOR"
In the settings/advanced/mixcloud
Mixcloud API key (which i have filled in)
and
Stream Format
=( use mp3 if available or always use mp4) ive tried both to no avail
Settings /advanced /file types
mp3 MP3 native
mpeg4 AAC native
FLAC faad/flac
MP3 faad/lame
PCM faad
-
2019-09-09, 03:44 #6
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,916
I'm not whether LMS supplied executables play on Red Hat also you haven''t said what architecture: Arm vs x86 , 32bit vs 64bit.
To check whether your system transcoding is OK - try to play a plain http/AAC stream on your Transporter such as
http://somafm.com/illstreet64.pls
-
2019-09-09, 04:36 #7
- Join Date
- Sep 2014
- Posts
- 53
http://somafm.com/illstreet64.pls
plays fine (nice tunes by the way)
Platform Architecture
x86_64-linux
Perl Version
5.22.2-x86_64
database Version
DBD::SQLITE_1.34_01(SQLITE 3.77.1)
-
2019-09-09, 04:47 #8
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,916
Good - that means it is not a platform or a wider transcoding issues - just specific to MP4 streams.
I don't know Mixcloud but LMS is currently unable to transcode MP4 stream (e.g. MP4 podcast) , LMS is OK with MP4 file and with player who can play MP4 natively such as Touch/Radio and Squeezelite.
There is a way to enable LMS but it means installing ffmpeg( aka avconv) on your system to do the MP4 transcoding instead of faad.
To confirm my suspicion - can you enable logging "WebUI/Setting/Advanced/Loging) and set player.source to INFO, note time and then try to play a problem track.
The copy the all log output from noted time to a post.
-
2019-09-09, 05:31 #9
- Join Date
- Sep 2014
- Posts
- 53
[19-09-09 13:28:35.7446] Slim::Player::StreamingController:
lay (2100) 00:04:20:10:19:71
[19-09-09 13:28:36.1920] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[19-09-09 13:28:36.1924] Slim::Player::StreamingController::_setPlayingStat e (2357) new playing state STOPPED
[19-09-09 13:28:36.1927] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE
[19-09-09 13:28:36.1931] Slim::Player::StreamingController::nextsong (882) The next song is number 0, was 0
[19-09-09 13:28:36.1937] Slim::Player::Song::new (108) index 0 -> mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.1942] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state TRACKWAIT
[19-09-09 13:28:36.1951] Slim::Player::StreamingController::_playersMessage (789) Getting stream info...: mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.1970] Slim::Player::Song::getNextSong (229) mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.1974] Slim::Player::Song::getNextSong (251) scanning URL mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.1978] Slim::Player::Song::getNextSong (229) mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.1987] Slim::Player::StreamingController::_nextTrackReady (737) 00:04:20:10:19:71: nextTrack will be index 0
[19-09-09 13:28:36.1991] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[19-09-09 13:28:36.1994] Slim::Player::StreamingController::_Stream (1206) 00:04:20:10:19:71: preparing to stream song index 0
[19-09-09 13:28:36.1997] Slim::Player::Song:pen (363) mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.2007] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: mp4
[19-09-09 13:28:36.2011] Slim::Player::Song:pen (387) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDmp4
[19-09-09 13:28:36.2018] Slim::Player::TranscodingHelper::getConvertCommand 2 (443) Error: Didn't find any command matches for type: mp4
[19-09-09 13:28:36.2021] Slim::Player::Song:pen (409) Error: Couldn't create command line for mp4 playback for [mixcloud://DomLawson/the-dompilation-tapes-165-part-1/]
[19-09-09 13:28:36.2025] Slim::Player::StreamingController::_playersMessage (789) Problem: Unable to play file type for:: mixcloud://DomLawson/the-dompilation-tapes-165-part-1/
[19-09-09 13:28:36.2039] Slim::Player::StreamingController::_willRetry (1391) no retry data
[19-09-09 13:28:36.2042] Slim::Player::StreamingController::_setStreamingSt ate (2366) new streaming state IDLE
[19-09-09 13:28:36.2046] Slim::Player::StreamingController::nextsong (882) The next song is number 0, was 0
[19-09-09 13:28:36.2054] Slim::Player::Source:laymode (96) 00:04:20:10:19:71: Current playmode: stop
-
2019-09-09, 06:23 #10
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,916
Seems this issue is a well known Mixcloud issue (e.g. https://forums.slimdevices.com/showt...l=1#post937826 )
I have a workaround for streaming MP4 which I think should work for Mixcloud.
The URL below can be used to check whether workaround has been installed OK.
Below is a MP4 podcast (i.e. streaming MP4) . I think it will not play on your system
http://rf.proxycast.org/161251036562...22141719-0.m4a
To make streaming MP4 work - do the following.
1. Install ffmpeg on your system (e.g. perhaps "yum install ffmpeg" ) and check it runs.
2. Download the attached "custom-convert.conf.txt"
3. copy the file into your LMS directory which already has convert.conf (see
4. rename the file to "custom-convert.conf" - just dropping the ".txt"
5. Restart LMS and check MP4 Filetype - (WebUI Setting/Advanced/FileTypes) now use ffmpeg and not faad.
6. Try playing the podcast URL above on Transporter - if it works - then try Mixcloud.