Home of the Squeezebox™ & Transporter® network music players.
Page 97 of 107 FirstFirst ... 47879596979899 ... LastLast
Results 961 to 970 of 1064
  1. #961
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,403
    Quote Originally Posted by Paul Webster View Post
    Resolved - see post from today ... it was ffmpeg on pCP cannot handle https because it was not built with the libraries - so ffmpeg did not even get as far as trying to play it.
    OK. But if you see any MPEG-4 stream that LMS cannot handle - please post the URL so at least it can be investigated.

  2. #962
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,855
    Quote Originally Posted by Paul Webster View Post
    Resolved - see post from today ... it was ffmpeg on pCP cannot handle https because it was not built with the libraries - so ffmpeg did not even get as far as trying to play it.
    I've updated the pcp-ffmpeg extension to v4.3.2 with https support.


    Code:
    $ ffmpeg -protocols
    ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
      built with gcc 10.1.0 (GCC)
    Supported file protocols:
    Input:
      async
      cache
      concat
      crypto
      data
      ffrtmpcrypt
      ffrtmphttp
      file
      ftp
      gopher
      hls
      http
      httpproxy
      https
      mmsh
      mmst
      pipe
      rtmp
      rtmpe
      rtmps
      rtmpt
      rtmpte
      rtmpts
      rtp
      srtp
      subfile
      tcp
      tls
      udp
      udplite
      unix
    Output:
      crypto
      ffrtmpcrypt
      ffrtmphttp
      file
      ftp
      gopher
      http
      httpproxy
      https
      icecast
      md5
      pipe
      prompeg
      rtmp
      rtmpe
      rtmps
      rtmpt
      rtmpte
      rtmpts
      rtp
      srtp
      tee
      tcp
      tls
      udp
      udplite
      unix
    Ralphy

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

  3. #963
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,134
    Quote Originally Posted by ralphy View Post
    I've updated the pcp-ffmpeg extension to v4.3.2 with https support.
    Thanks - works for me.
    I just updated the extension in pCP and removed my hack in the plugin that converted https to http ... and the rebuilt ffmpeg works fine.
    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

  4. #964
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,051
    Quote Originally Posted by Wirrunna View Post
    Allo have released their OLED display scripts for their Boss2 player and they work on pCP 7 32bit, but do not work on the 64bit pCP 7.
    I tracked down the dependency issue on the 64bit version. Should be okay now. You will need to update your package dependencies

    Code:
    tce-audit updatedeps
    tce-audit fetchmissing
    Last edited by paul-; 2021-04-17 at 10:48.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #965
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,288
    Quote Originally Posted by paul- View Post
    I tracked down the dependency issue on the 64bit version. Should be okay now. You will need to update your package dependencies

    Code:
    tce-audit updatedeps
    tce-audit fetchmissing
    Thank you Paul, after running those commands the
    Code:
    tce-load -wi  iproute2.tcz
    command worked and the oled lit up on reboot.
    A camel is a racehorse designed by a committee.

    Seen sprayed on the outside wall of the local library -
    Three things I hate in life :
    1. Vandalism
    2. Irony
    3. Lists

  6. #966
    Senior Member
    Join Date
    Mar 2010
    Posts
    205

    Manually resizing partition

    Hi,

    I just noticed that I don't have any space available of on my SD card, despite having previously resized the partition. On following up, I noticed that while the "Resize partition" process appears to go through, it does not change the partition size for my install (anymore - it has worked in the past). Is there some documentation buried in some thread on how to manually resize the FS, or do I need to extract that from the scripts? Somewhere something is failing, but the automatic process replaces the messages to fast to read them in detail during the reboot sequence, so I'd like to do all that manually.

  7. #967
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,306
    Quote Originally Posted by pputzer View Post
    Hi,

    I just noticed that I don't have any space available of on my SD card, despite having previously resized the partition. On following up, I noticed that while the "Resize partition" process appears to go through, it does not change the partition size for my install (anymore - it has worked in the past). Is there some documentation buried in some thread on how to manually resize the FS, or do I need to extract that from the scripts? Somewhere something is failing, but the automatic process replaces the messages to fast to read them in detail during the reboot sequence, so I'd like to do all that manually.
    I think there is a max size of 2gb using this method (unless you go for the whole card )

    ronnie

  8. #968
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,306
    Name:  pcp resize.png
Views: 212
Size:  58.6 KB

  9. #969
    Senior Member
    Join Date
    Mar 2010
    Posts
    205
    Quote Originally Posted by Man in a van View Post
    I think there is a max size of 2gb using this method (unless you go for the whole card )
    Oh, I just wanted to go to 100 or 200 MB. Turned out the issue is that "fdisk -l /dev/mmcblk0" output is different from what "autoresize.sh" expects. On my installation (RPi3B+, 32 bit), I get

    tc@picore1:/var/www/cgi-bin$ fdisk -l /dev/mmcblk0
    Disk /dev/mmcblk0: 29.83 GiB, 32010928128 bytes, 62521344 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x6859b4ad

    Device Boot Start End Sectors Size Id Type
    /dev/mmcblk0p1 8192 139263 131072 64M c W95 FAT32 (LBA)
    /dev/mmcblk0p2 139264 548863 409600 200M 83 Linux


    However, autoresize.sh expects this (from the script's inline documentation):

    # $ fdisk -l
    # Disk /dev/mmcblk0: 3724 MB, 3904897024 bytes, 7626752 sectors
    # 119168 cylinders, 4 heads, 16 sectors/track
    # Units: cylinders of 64 * 512 = 32768 bytes
    #
    # Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
    # /dev/mmcblk0p1 128,0,1 127,3,16 8192 73727 65536 32.0M c Win95 FAT32 (LBA)
    # /dev/mmcblk0p2 128,0,1 639,3,16 73728 172031 98304 48.0M 83 Linux
    #
    # f 1 f 2 f 3 f 4 f 5

    This results in the wrong field being cut by

    pcp_fdisk_part2() {
    PART2_START=$(fdisk -l $DEVICE | tail -n 1 | sed 's/ */ /g' | cut -d' ' -f 4)
    ...

    Instead of "-f 4", it needs "-f 2" to get the right field with my output. Also, after resizing fdisk ask whether it should keep the ext4 FS signature on the new partition, which is not reflected in the commands given by pcp_fdisk_part2(). Manually resizing the partition and touching /home/tc/resize2fs_part2_required beforehand (followed by "pcp bu") seems to have worked.

  10. #970
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,051
    Thats a busybox vs util-linux based fdisk. The routines should have been set to force use of busybox fdisk. But, it seems there is still at least one floating around. Most resize things before doing anything else, which is why it has been missed all these years.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

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