Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Dec 2019
    Posts
    7

    Problem playing WMA files

    I have previously been able to play WMA files but get the server error log shows “Slim::Player::Song:pen (415) Error: Couldn't create command line for wma playback for...”
    Thinking I must have corrupted something when updating recently I decided to re-install picoreplayer from a fresh download but finished up with exactly the same error. The setup is:

    Raspberry Pi 3B
    Picoreplayer 7.0.0 with Jivelite
    LMS 8.1.0
    32GB memory stick with music library.

    Any ideas please?
    Keith

  2. #2
    Senior Member
    Join Date
    Feb 2011
    Posts
    167
    To play WMA files under Pcp 7.0.0 you need to:

    1) Install the “Play Windows Media” LMS plugin
    2) Install the pcp-ffmpeg.tcz Extension

    In addition, if you have any embedded jpgs in your WMA files (e.g. album covers), you will need to edit the custom-covert.conf file installed by the Play Windows Media Plugin, which you can find in /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayWMA for Pcp 7.0.0.

    The reason you need to make the edit is that by default when converting WMA to Flac, ffmpeg will convert any embedded jpgs to png format. The version of ffmpeg installed in Pcp 7.0.0 doesn’t support jpg to png conversion and so the WMA to Flac conversion fails. The solution is to add the “-vn” option so that only the audio is converted. You need to change the Flac conversion in custom-covert.conf from:
    Code:
    [ffmpeg] -v 0 -$START$ -i $PATH$ -f flac –
    to:
    Code:
    [ffmpeg] -v 0 -vn $START$ -i $PATH$ -f flac -
    After making the change to custom-convert.conf, you will need to restart LMS for the change to take effect. Note that the change works for WMA files without embedded jpgs as well.
    Last edited by coyrls; 2021-02-08 at 05:10. Reason: Added restart LMS

  3. #3
    Junior Member
    Join Date
    Dec 2019
    Posts
    7
    Quote Originally Posted by coyrls View Post
    To play WMA files under Pcp 7.0.0 you need to:

    1) Install the “Play Windows Media” LMS plugin
    2) Install the pcp-ffmpeg.tcz Extension

    In addition, if you have any embedded jpgs in your WMA files (e.g. album covers), you will need to edit the custom-covert.conf file installed by the Play Windows Media Plugin, which you can find in /usr/local/slimserver/Cache/InstalledPlugins/Plugins/PlayWMA for Pcp 7.0.0.

    The reason you need to make the edit is that by default when converting WMA to Flac, ffmpeg will convert any embedded jpgs to png format. The version of ffmpeg installed in Pcp 7.0.0 doesn’t support jpg to png conversion and so the WMA to Flac conversion fails. The solution is to add the “-vn” option so that only the audio is converted. You need to change the Flac conversion in custom-covert.conf from:
    Code:
    [ffmpeg] -v 0 -$START$ -i $PATH$ -f flac –
    to:
    Code:
    [ffmpeg] -v 0 -vn $START$ -i $PATH$ -f flac -
    After making the change to custom-convert.conf, you will need to restart LMS for the change to take effect. Note that the change works for WMA files without embedded jpgs as well.
    Thank you very much, you’re a star. I’d missed the ffmpeg extension. All is working well, many thanks again
    Keith

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,643
    Quote Originally Posted by Keithfuller View Post
    Thank you very much, you’re a star. I’d missed the ffmpeg extension. All is working well, many thanks again
    Keith
    Most recent builds of squeezelite include the WMA decoder and so no need for PlayWMA. Not sure about Jivelite. Should check if you have latest build.

  5. #5
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,880
    Quote Originally Posted by bpa View Post
    Most recent builds of squeezelite include the WMA decoder and so no need for PlayWMA. Not sure about Jivelite. Should check if you have latest build.
    The WMA decoder as been removed from squeezelite for picoreplayer 7.0 and I no longer include support for WMA in any of my builds.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,643
    Quote Originally Posted by ralphy View Post
    The WMA decoder as been removed from squeezelite for picoreplayer 7.0 and I no longer include support for WMA in any of my builds.
    That clears up my confusion. I now need to update PlayWMA as it is still "current" whereas it looked obsolete once players had WMA built-in.

  7. #7
    Junior Member
    Join Date
    May 2021
    Posts
    1

    pcp-ffmpeg not available

    Hi everyone
    I tried to install the ffmpeg extension from the PCP main repository. I would like to play wma files. The extension manager returns the following message:

    Downloading: html>
    Error on html>


    I tried to download the extension from every repository, same messages all the time. LMS extension PlayWMA is installed.

    #piCorePlayer version
    PCPVERS="piCorePlayer 7.0.1"
    WWW_BUILD: 00016

    LMS: Log
    [21-06-09 15:10:06.7349] Plugins::PlayWMA::Plugin::initPlugin (58) ffmpeg not found with findbin

    Does anyone have an idea, how t fix this issue?
    Thanks

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,427
    Quote Originally Posted by sibu.ow View Post
    [21-06-09 15:10:06.7349] Plugins::PlayWMA::Plugin::initPlugin (58) ffmpeg not found with findbin

    Does anyone have an idea, how t fix this issue?
    Try installing the pCP extension
    pcp-ffmpeg.tcz
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

Posting Permissions

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