-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, I need your help to run the application on my Ubuntu server. You wrote "Open your terminal and navigate to the project directory". which directory is that? I just can't find it.
Thank you!
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good day, @lealpa. Basically the project directory is any folder you are working in. So, for example all your files relating to IPTV Channel Monitoring can be placed in the MyIptvMonitoringFolder.
If you cloned this repository, then your project directory would be iptv-channels-monitoring.
In case this explanation is not clear for you, I will provide more detailed one.
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great proyect :D
I was able to clone your proyect but when executing the command:
uvicorn <your_app_name>:app
it retuns as Command not found
then i replaced the command with the following:
python3 -m uvicorn main:app
It runs but it returns an error for each channel:
[0000000002ac12f0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
and finish with this error:
ERROR: Traceback (most recent call last):
File "/home/channels/.local/lib/python3.6/site-packages/starlette/routing.py", line 635, in lifespan
async with self.lifespan_context(app):
File "/home/channels/.local/lib/python3.6/site-packages/starlette/routing.py", line 530, in aenter
await self._router.startup()
File "/home/channels/.local/lib/python3.6/site-packages/starlette/routing.py", line 612, in startup
await handler()
File "./main.py", line 115, in startup_event
asyncio.create_task(clear_buffer())
AttributeError: module 'asyncio' has no attribute 'create_task'
ERROR: Application startup failed. Exiting.
What can i do?
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was able to resolve the problems with the error about the audio output, but the rest of the issues remain, hope you can help
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Giyu,
Is there any way to have the app running in real-time with monitoring by some graphic interface or integration with Graphana or Zabbix?
Thank you!
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @eriktovarj , thank you for comment. Sure, i will help with a great pleasure. Please start a new discussion so that i can explicitly help you to resolve your issue, can you?
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good day, @lealpa .
Yes! There is a way, and I actually made it, but did not post it on github yet. I integrated this script for monitoring in zabbix.
I will post this project soon (probably this month) , so stay tuned!
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great news, thank you, please, keep me posted on that.
Cheers!
82d8172
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for kind words!