# Best way to begin development?

**URL:** <https://discourse.libretime.org/t/best-way-to-begin-development/786>\
**Category:** Dev Talk\
**Created:** [February 2, 2021, 8:58am UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786 "2021-02-02T08:58:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![0d0acre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/0d0acre/32/432_2.png) [@0d0acre](https://discourse.libretime.org/u/0d0acre)\
**Post date:** [February 2, 2021, 8:58am UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/1 "2021-02-02T08:58:10Z")

</div>

Hi to all, new to libretime development, i would like to help on development, where should i start? The best option is vagrant or a local install?

Now facing a problem on retrieving icy-metadata when the stream is ogg vorbis, it doesn’t send artist, album and title strings but instead it only yields the “StreamTitle”; I guess i should look inside liquidsoap configuration?

Thanks to all

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [February 2, 2021, 9:11am UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/2 "2021-02-02T09:11:35Z")

</div>

The vagrant set up is very handy for local development. It will provision a fully working local instance for you to develop against that you can recreate easily. For docs on how to set it up, see [LibreTime - Using Vagrant for local development](https://libretime.org/docs/vagrant)

Have you set the settings correctly on the Stream Settings page? [LibreTime - Settings](https://libretime.org/docs/settings#stream-settings) (Stream Label and Icecast Vorbis Metadata)

---

<div class="post-metadata">

**Author:** ![0d0acre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/0d0acre/32/432_2.png) [@0d0acre](https://discourse.libretime.org/u/0d0acre)\
**Post date:** [February 2, 2021, 11:01am UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/3 "2021-02-02T11:01:54Z")

</div>

Thanks a lot, i’m going to use vagrant so. Are there boards or tasks pending to be done? Where i can see them?

I guess i should update my libretime installation, because i don’t see the `Icecast Vorbis Metadata` option. I installed the project starting from commit: `757e4929a6ed208785ad364bf611e3fcace2ac3e`, should I do some operation before updating? ([https://libretime.org/manual/upgrading/](https://libretime.org/manual/upgrading/) is dead).

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [February 2, 2021, 12:14pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/4 "2021-02-02T12:14:49Z")

</div>

> [@0d0acre](#):
>
> Are there boards or tasks pending to be done? Where i can see them?

> **[Issues · libretime/libretime](https://github.com/LibreTime/libretime/issues)**
>
> LibreTime: Radio Broadcast & Automation Platform. Contribute to libretime/libretime development by creating an account on GitHub.

Depending on where your interest lies, these may be interesting:

- [Selective export of playout history · Issue #1167 · libretime/libretime · GitHub](https://github.com/LibreTime/libretime/issues/1167) (JS)
- [Problem: airtime-celery.log is not being created · Issue #442 · libretime/libretime · GitHub](https://github.com/LibreTime/libretime/issues/442) (Python)
- [Calendar missing shows on Sunday. · Issue #210 · libretime/libretime · GitHub](https://github.com/LibreTime/libretime/issues/210) (PHP)

> [@0d0acre](#):
>
> I guess i should update my libretime installation, because i don’t see the `Icecast Vorbis Metadata` option.

It should definitely be there with the version you are running. It came over from AirTime when we forked.  
 ![Screenshot_2021-02-02 UCT Radio](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/855e49753e1ce87e938babbe7ac7a29771840177.png)

---

<div class="post-metadata">

**Author:** ![0d0acre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/0d0acre/32/432_2.png) [@0d0acre](https://discourse.libretime.org/u/0d0acre)\
**Post date:** [February 2, 2021, 1:46pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/5 "2021-02-02T13:46:36Z")

</div>

Thanks! Ok, so github is the reference for bugs and tasks, looking into it!

Found out i have `Icecast Vorbis Metadata` already checked and the result is that the vorbis metadata that is being sent is just the StreamTitle, that is the Stream Label we set from the interface. Is this some liquidsoap configuration?

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [February 2, 2021, 8:01pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/6 "2021-02-02T20:01:59Z")

</div>

> [@0d0acre](#):
>
> Is this some liquidsoap configuration?

Yeah, possibly. It could be how the metadata is being sent to liquidsoap

---

<div class="post-metadata">

**Author:** ![sdellis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/sdellis/32/442_2.png) [@sdellis](https://discourse.libretime.org/u/sdellis)\
**Post date:** [February 17, 2021, 5:20pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/7 "2021-02-17T17:20:23Z")

</div>

I’m trying to use Vagrant, but get errors when running `vagrant up` for the ubuntu version:

```auto
    ubuntu-xenial: Traceback (most recent call last):
    ubuntu-xenial: File "/vagrant/python_apps/api_clients/setup.py", line 23, in <module>
    ubuntu-xenial: data_files=[])
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/setuptools/ __init__.py", line 153, in setup
    ubuntu-xenial: return distutils.core.setup(**attrs)
    ubuntu-xenial: File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
    ubuntu-xenial: dist.run_commands()
    ubuntu-xenial: File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
    ubuntu-xenial: self.run_command(cmd)
    ubuntu-xenial: File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
    ubuntu-xenial: cmd_obj.run()
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/setuptools/command/install.py", line 67, in run
    ubuntu-xenial: self.do_egg_install()
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/setuptools/command/install.py", line 98, in do_egg_install
    ubuntu-xenial: easy_install = self.distribution.get_command_class('easy_install')
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 755, in get_command_class
    ubuntu-xenial: self.cmdclass[command] = cmdclass = ep.load()
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/pkg_resources/ __init__.py", line 2450, in load
    ubuntu-xenial: return self.resolve()
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/pkg_resources/ __init__.py", line 2456, in resolve
    ubuntu-xenial: module = __import__ (self.module_name, fromlist=[' __name__'], level=0)
    ubuntu-xenial: File "/usr/local/lib/python3.5/dist-packages/setuptools/command/easy_install.py", line 719
    ubuntu-xenial: ):
    ubuntu-xenial: ^
    ubuntu-xenial: SyntaxError: invalid syntax
    The SSH command responded with a non-zero exit status. Vagrant
    assumes that this means the command failed. The output for this command
    should be in the log above. Please read the output to determine what
    went wrong.

```

When I try `vagrant provision` I get the following error:

```auto
    ubuntu-xenial: ERROR: unknown location of Apache sites-available or virtual host directory!
    The SSH command responded with a non-zero exit status. Vagrant
    assumes that this means the command failed. The output for this command
    should be in the log above. Please read the output to determine what
    went wrong.

```

Anyone familiar with this issue? Not sure what to do to fix it.

---

<div class="post-metadata">

**Author:** ![hairmare](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hairmare/32/38_2.png) [@hairmare](https://discourse.libretime.org/u/hairmare)\
**Post date:** [February 17, 2021, 6:48pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/8 "2021-02-17T18:48:50Z")

</div>

Looks like an issue with the underlying vagrant setup. Do other machines (like with following the vagrant [quickstart docs](https://learn.hashicorp.com/tutorials/vagrant/getting-started-index)) work in it and is volume mounting working. What host distro are you on? Can you post the exact `vagrant up` command you are executing?

Also, I updated your trust level so you can create your own thread on this.

---

<div class="post-metadata">

**Author:** ![sdellis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/sdellis/32/442_2.png) [@sdellis](https://discourse.libretime.org/u/sdellis)\
**Post date:** [February 18, 2021, 1:57pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/9 "2021-02-18T13:57:48Z")

</div>

@hairmare Thanks for the reply and the trust. I used `vagrant up ubuntu-xenial` and `vagrant up` and get the same error with both. I guess I will create my own thread. I’m on vagrant 2.2.5, so I will try upgrading.

---

<div class="post-metadata">

**Author:** ![sdellis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/sdellis/32/442_2.png) [@sdellis](https://discourse.libretime.org/u/sdellis)\
**Post date:** [February 18, 2021, 4:01pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/10 "2021-02-18T16:01:31Z")

</div>

After upgrading Vagrant to the most recent version, I get the following error with `vagrant up`:

```
debian-stretch: error: Setup script exited with 'pkg-config' not found.
debian-stretch: Command ['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']
```

---

<div class="post-metadata">

**Author:** ![paddatrapper](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/paddatrapper/32/675_2.png) [@paddatrapper](https://discourse.libretime.org/u/paddatrapper)\
**Post date:** [February 19, 2021, 8:54am UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/11 "2021-02-19T08:54:12Z")

</div>

Debian Stretch is EOL, try Debian Buster or Ubuntu Xenial

---

<div class="post-metadata">

**Author:** ![sdellis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/sdellis/32/442_2.png) [@sdellis](https://discourse.libretime.org/u/sdellis)\
**Post date:** [February 19, 2021, 7:48pm UTC](https://discourse.libretime.org/t/best-way-to-begin-development/786/12 "2021-02-19T19:48:39Z")

</div>

Thank you! Debian Buster worked for me. (Xenial gave me the same errors I was getting before.)
