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

[HELP] - Already having icecast running to suck out trackname from Traktor DJ Software #184

Closed
TimSusa opened this issue Dec 28, 2021 · 1 comment
Assignees
Labels

Comments

@TimSusa
Copy link

TimSusa commented Dec 28, 2021

Describe the bug
Hello Bro,

this is not a Bug directly, I try to use your approach for taking out the tracknames from traktor dj software and put them into Butt Streaming software.

You might ask why all of this headache? Traktor likes only icecast, the Software Butt likes only shoutcast, so a lot of people in the community are trying and nobody has really a nice answer and from my side I would just like to help here.

I use the approach of having one laptop with dj software to put the sound to another soundcard, from whereout I broadcast with Butt on a second system. So just imagine, one source has another ip in the network, than the other.

To Reproduce
Steps to reproduce the behavior: Please see the link below, the step with liquidsoap is not needed for the approach, as your parser is supposed to take over this role

1. Please see Link here

  • you have traktor running for example in auto dj mode, so it will play from a list
  • you have traktor configured like described in article
  • you have traktor running in broadcast mode, which works only icecast is running as server to take over info, where antenna button is cyan all time NOT BLINKING, NOT BLACK

I use just icecast, see install and the config below

brew install icecast
icecast -c ./icecast.xml
<!-- Sets up an icecast mount point on your own machine -->
<icecast>
    <limits>
        <sources>2</sources>
    </limits>
    <authentication>
        <source-password>hackme</source-password>
        <relay-password>hackme</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>

    <mount>
        <mount-name>/traktor.ogg</mount-name>
    </mount>

    <hostname>localhost</hostname>
    <location>earth</location>
    <fileserve>1</fileserve>

    <listen-socket>
        <port>8000</port>
    </listen-socket>
    <fileserve>1</fileserve>
    <paths>
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <playlistlog>playlist.log</playlistlog>
        <loglevel>4</loglevel>        <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>
</icecast>

Expected behavior
I would like to get exact trackinfo similar to your given example.

Additional context
if you see playlist log I already noticed, I coud take away the live track info with a simple tail -f, so very similar to this, I would like to just get meta info from the traktor stream.

tail -f playlist.log
```

Does it make sense to have the header for meta info aswell configurable, as I have seen it is always set to 1?
@TimSusa
Copy link
Author

TimSusa commented Dec 31, 2021

I am ok with my first shot, thanks I learned a lot.

https://github.com/TimSusa/traktor-meta-to-butt/blob/master/README.md

HAPPY NEW YEAR

@TimSusa TimSusa closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants