Comments (10)
A quick update on this... After biting my teeth out on how to get the recording from ecasound uploaded to the API for inclusion in the library through analyzer (without loosing all the metadata concerning that it's a pre-recording).
We should probably rewrite the code so that the file entry in the db gets pre-populated so we can pass its id to pypo-recorder when requesting the recording. pypo-recorder would then be able to just PUT an update to the file resource, that already contains the needed metadata. pypo-recorder would need to add proper id3 tags as well (I need to re-check if it does anything smart yet).
On the MVC side of things the models need to be adapted to store these file resources in a fashion similar to how podcast episodes and watched files are handled. It also makes sense to clean up the ui integration points a bit and keep the recordings nicely split from the main library in a fashion similar to other things like podcasts and streams.
Sorry about the braindump but I just realized that I need somewhere to put this. I'm currently focussing on a largish js refactor but I hope I'll find some time to look into this.
from libretime.
I think 2.5.x:airtime_mvc/application/views/scripts/schedule/add-show-form.phtml#L32-L37 is all that's missing.
from libretime.
Yup I found that bit of code for entering shows to be recorded, but I don't think the ShowRecorder function in recorder.py is being called. At least no ecasound process starts!
from libretime.
Ok, i removed "Fixes" annotation from the comment on #43. If this should close when we merge that, please reopen it if we haven't found the issue.
Do you know at what version the recorder last worked? It seems to still get started in pypo.
from libretime.
I'm at the point where it calls ecasound on my vagrant box and then fails miserably. Most likely it is some issue with file permissions or a missing folder somewhere. Also, after adding a new recording i t takes up to an hour for the recorder to pick up on it so keep that in mind if you want to test this.
from libretime.
I had to switch to record_file_type = 'mp3'
in /etc/airtime/airtime.conf
since my setup was lacking the vorbize
command and my dev instance is currently recording a show through lame.
I also had to fix something in api_clietnts (PR coming) and then I got this fun part of the code. I'll have to look into that a bit.
from libretime.
This issue has been automatically marked as stale because it has not had activity in the last 5 months. It will be closed if no activity occurs in the next month.
Please chat to us on discourse or ask for help on our chat if you have any questions or need further support with getting this issue resolved.
You may also label an issue as pinned if you would like to make sure that it does not get closed by this bot.
from libretime.
I managed to get the recording part working consistently from a stream using a slightly modified version of @JohnnyC1951's script
The audio files get loaded into the library and appear to be good. Although they aren't attached to the show or future scheduled shows it will still be a very useful feature (I.e to record a scheduled show, but without the rebroadcast function).
Attempting to record from line-in is always going to be a challenge (or impossible) with cloud-based, or docker based instances. I suggest re-enabling the record function from Stream 1 (or the master or show source instead). The rebroadcasting functionality could be turned on later once we've figured out how to handle it...
POC code is here:
GroundTruthNZ@a15ef48
The source in line 93 in the recorder.py script is hard coded here but could presumably be dynamic .
from libretime.
This issue has been automatically marked as stale because it has not had activity in the last 5 months. It will be closed if no activity occurs in the next month.
Please chat to us on the forum or ask for help on our chat if you have any questions or need further support with getting this issue resolved.
You may also label an issue as pinned if you would like to make sure that it does not get closed by this bot.
from libretime.
This issue has been automatically closed after is was marked as stale and did not receive any further inputs.
Feel free to let us know on the forum or ask for help on our chat if you feel this issue should not have been closed.
Thank you for your contributions.
from libretime.
Related Issues (20)
- Change default listen address to port 8080
- Move legacy development inside containers
- When using libretime docker compose there are process leaks and high cpu usage from lsof HOT 1
- Issues with ffmpeg silence detection thresholds HOT 2
- Autoloading playlists failing randomly HOT 34
- Stream interruption when metadata changes HOT 2
- liquidsoap crash with Thread "http polling" failed: Invalid URL HOT 1
- Show Source broadcast track metadata
- upstream reference closed: github.com/PyCQA/pylint/issues/7306
- Libretime new function and layout
- Ogg format not working safari
- auto disconnect of dj/live shows not working HOT 1
- “Last played” default value for new tracks HOT 1
- Playout volume too low and unstable HOT 3
- Replaces files during bulk-import
- Flac preview doesn't work HOT 1
- Support logo overrides per show instance
- Repeat show every N weeks
- Rename the stable branches to include the major version
- Hardware Output Audio using ALSA breaks stream HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libretime.