Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placehorder @T@ changed? #38

Open
tyctor opened this issue Nov 25, 2022 · 2 comments
Open

Placehorder @T@ changed? #38

tyctor opened this issue Nov 25, 2022 · 2 comments
Assignees

Comments

@tyctor
Copy link

tyctor commented Nov 25, 2022

hi

we used some old version of ezstream for five years and it sends filename as metadata by default
now we upgraded to 1.0.2 and it seems that default changed to artist - title

so i put @T@ placeholder in config file, but it is replaced by absolute path name

is there any posibility to add new placeholder replaced by filename only?
or can i somehow achieve to strip path from filename?

thanks for any advice

tyctor

@mgrimm
Copy link
Contributor

mgrimm commented Jan 24, 2023

Hi, can you please share both your version 0 and version 1 configuration files, minus any sensitive data like passwords. It is likely that you found a bug, but I could use the help to track it down ... Thanks!

@mgrimm mgrimm self-assigned this Jan 24, 2023
@tyctor
Copy link
Author

tyctor commented Jan 24, 2023

here:

version 1

<?xml version="1.0" encoding="UTF-8"?>
<ezstream>
  <servers>
    <server>
      <protocol>http</protocol>
      <hostname></hostname>
      <user></user>
      <password></password>
    </server>
  </servers>

  <streams>
    <stream>
      <mountpoint>/archive</mountpoint>
      <format>MP3</format>
      <stream_name>RadioPunctum</stream_name>
      <stream_url>https://radiopunctum.cz</stream_url>
      <stream_description>Radio Punctum is an online radio station which actively supports local artists and hosts regular shows or guest selectors.</stream_description>
      <stream_bitrate>320</stream_bitrate>
      <stream_samplerate>44100</stream_samplerate>
      <stream_channels>2</stream_channels>
    </stream>
  </streams>

  <intakes>
    <intake>
      <type>program</type>
      <filename>/home/punctum/projects/punctum-admin/sbin/django_archiveplayer.sh</filename>
      <stream_once>0</stream_once>
    </intake>
  </intakes>

  <metadata>
    <format_str>@T@</format_str>
  </metadata>
</ezstream>

version 2

<ezstream>
    <url>http://77.93.223.221:8000/archive</url>
    <sourceuser></sourceuser>
    <sourcepassword></sourcepassword>
    <format>MP3</format>
    <filename>/home/punctum/projects/punctum.cz/radiopunctum_player.sh</filename>
    <playlist_program>1</playlist_program>

   <!--
    <metadata_progname>meta.sh</metadata_progname>
    <metadata_format>@s@: @a@ - @t@</metadata_format>
    <metadata_refreshinterval>10</metadata_refreshinterval>
      The following settings are used to describe your stream to the server.
      It's up to you to make sure that the bitrate/quality/samplerate/channels
      information matches up with your input stream files.
     -->

    <svrinfoname>RadioPunctum</svrinfoname>
    <svrinfourl>http://live.punctum.cz</svrinfourl>
    <svrinfodescription>Best radio</svrinfodescription>
    <svrinfobitrate>320</svrinfobitrate>
    <svrinfochannels>2</svrinfochannels>
    <svrinfosamplerate>44100</svrinfosamplerate>
</ezstream>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants