# Jingles and Resource Usage

**URL:** <https://discourse.libretime.org/t/jingles-and-resource-usage/631>\
**Category:** Uncategorized\
**Created:** [July 18, 2020, 8:06pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631 "2020-07-18T20:06:30Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 18, 2020, 8:06pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/1 "2020-07-18T20:06:30Z")

</div>

Hello,

I normally use Airtime, but today I installed Libretime because in Airtime I cannot automatically play Jingles (I manually add its every time), and after installing Libretime I saw that the same thing is here. Please tell me what is the difference and prons the libretime? (Sorry for my -Google Translate- English)

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [July 18, 2020, 8:41pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/2 "2020-07-18T20:41:46Z")

</div>

Biggest changes, newer UI, Podcasts, Auto Loading Playlists (ie automatically insert jingles/tracks/smartblocks), Bug fixes, Track Types (can categorize tracks based upon whether they are music/jingles/interviews etc), Compatible with newer versions of PHP & newer distributions of Linux vs. requiring an older version of PHP/distro to install. That’s the pros.

The cons are that it is in active development, there are bugs lurking and more might be introduced as we add new features, in theory it might no be as stable as airtime.

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 18, 2020, 9:39pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/3 "2020-07-18T21:39:52Z")

</div>

> [@robbt](#):
>
> Auto Loading Playlists (ie automatically insert jingles/tracks/smartblocks)

Could you give some more details about using this feature?  
_especially about using JIN - Jingles_.  
**I need to repeat the jingle every 3 songs.**  
_ **how to do it ?** _

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [July 19, 2020, 1:07pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/4 "2020-07-19T13:07:19Z")

</div>

So the auto loading playlist would require you to basically create a playlist that includes a jingle smartblock setup as a dynamic smartblock that chooses 1 random item of type jingle. Then you would a smartblock have it choose 3 blocks of type music filtered however.

You can watch some of these videos - [https://www.youtube.com/channel/UC-MA9GzkTb8th1YlDmF0NfA/videos](https://www.youtube.com/channel/UC-MA9GzkTb8th1YlDmF0NfA/videos) - they were made before we implemented track types but if anything this should make the smartblock filtering easier/more intuitive. Let me know if you have any specific questions, it requires a little playing around with to understand.

But basically an autoloading playlist can be setup to repeat to fill a show and you can have it choose whatever you want in that loop. I can answer more specific questions if you run into anything trying to follow the tutorials.

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 19, 2020, 2:51pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/5 "2020-07-19T14:51:35Z")

</div>

Well, thanks, I’ll watch and try, I hope I can do it, because it is very important for me. if it doesn’t work out, I will write to you.

I have another question about the use of resources.  
Airtime uses 15% of the CPU (on Vultr $2.50/mo package with 1 CPU and 512MB RAM - Ubuntu 16.04) but  
LibreTime uses 50% of the CPU (on Hetzner €2.49/mo. package with 1 CPU and 2GB RAM - Ubuntu 18.04)

why is LibreTime using so many resources? maybe I installed it wrong? or is it ok?

Airtime

 ![Airtime](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/fa09101e49fb93ff90496b9e0e80f20a7e2d40b5.png)

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 19, 2020, 2:54pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/6 "2020-07-19T14:54:31Z")

</div>

Libretime

 ![LibreTime](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/c0efef728c2442436776b50e8a4fa03133711afa.jpeg)

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 19, 2020, 4:12pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/7 "2020-07-19T16:12:25Z")

</div>

Also, when I click Status link (on Settings) /systemstatus

and when I click Save button in General (on Settings) /preference

i get an error message

**Oops!**  
**Something went wrong!**

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 21, 2020, 9:59am UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/8 "2020-07-21T09:59:15Z")

</div>

/var/log/airtime/zend-php.log

```
2020-07-21T09:24:50+03:00 WARN (4): ahiskaradyo.com SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2020-07-21T12:39:11+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:26 - errorAction()] - ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-07-21T12:39:11+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:27 - errorAction()] - #0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:39:11+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:54 - errorAction()] - An internal application error has occurred.: PhpAmqpLib\Exception\AMQPProtocolConnectionException: ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile. in /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:661
Stack trace:
#0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:39:30+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:26 - errorAction()] - ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-07-21T12:39:30+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:27 - errorAction()] - #0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/application/models/RabbitMq.php(23): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/application/models/RabbitMq.php(50): Application_Model_RabbitMq::sendMessage('airtime-pypo', 'direct', true, '{"station_name"...')
#8 /usr/share/airtime/php/airtime_mvc/application/models/Preference.php(226): Application_Model_RabbitMq::SendMessageToPypo('update_station_...', Array)
#9 /usr/share/airtime/php/airtime_mvc/application/controllers/PreferenceController.php(43): Application_Model_Preference::SetHeadTitle('Ah\xC4\xB1ska Radyo', Object(Zend_View))
#10 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(516): PreferenceController->indexAction()
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#14 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#15 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#16 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#17 {main}
2020-07-21T12:39:30+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:54 - errorAction()] - An internal application error has occurred.: PhpAmqpLib\Exception\AMQPProtocolConnectionException: ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile. in /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:661
Stack trace:
#0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/application/models/RabbitMq.php(23): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/application/models/RabbitMq.php(50): Application_Model_RabbitMq::sendMessage('airtime-pypo', 'direct', true, '{"station_name"...')
#8 /usr/share/airtime/php/airtime_mvc/application/models/Preference.php(226): Application_Model_RabbitMq::SendMessageToPypo('update_station_...', Array)
#9 /usr/share/airtime/php/airtime_mvc/application/controllers/PreferenceController.php(43): Application_Model_Preference::SetHeadTitle('Ah\xC4\xB1ska Radyo', Object(Zend_View))
#10 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(516): PreferenceController->indexAction()
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#14 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#15 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#16 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#17 {main}
2020-07-21T12:43:33+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:26 - errorAction()] - ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-07-21T12:43:33+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:27 - errorAction()] - #0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:43:33+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:54 - errorAction()] - An internal application error has occurred.: PhpAmqpLib\Exception\AMQPProtocolConnectionException: ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile. in /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:661
Stack trace:
#0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:45:36+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:26 - errorAction()] - ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-07-21T12:45:36+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:27 - errorAction()] - #0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:45:36+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:54 - errorAction()] - An internal application error has occurred.: PhpAmqpLib\Exception\AMQPProtocolConnectionException: ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile. in /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php:661
Stack trace:
#0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(106): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')
#7 /usr/share/airtime/php/airtime_mvc/build/airtime-setup/load.php(57): checkRMQConnection()
#8 /usr/share/airtime/php/airtime_mvc/application/views/scripts/systemstatus/index.phtml(7): checkExternalServices()
#9 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View.php(157): include('/usr/share/airt...')
#10 /usr/share/airtime/php/vendor/zf1s/zend-view/library/Zend/View/Abstract.php(890): Zend_View->_run('/usr/share/airt...')
#11 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#12 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('systemstatus/in...', NULL)
#13 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#17 /usr/share/airtime/php/vendor/zf1s/zend-controller/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /usr/share/airtime/php/vendor/zf1s/zend-application/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /usr/share/airtime/php/airtime_mvc/application/airtime-boot.php(84): Zend_Application->run()
#21 /usr/share/airtime/php/airtime_mvc/public/index.php(68): require_once('/usr/share/airt...')
#22 {main}
2020-07-21T12:46:04+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:26 - errorAction()] - ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2020-07-21T12:46:04+03:00 ERR (3): ahiskaradyo.com [ErrorController.php:27 - errorAction()] - #0 [internal function]: PhpAmqpLib\Connection\AbstractConnection->connection_close(Object(PhpAmqpLib\Wire\AMQPReader))
#1 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(199): call_user_func(Array, Object(PhpAmqpLib\Wire\AMQPReader))
#2 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(341): PhpAmqpLib\Channel\AbstractChannel->dispatch('10,50', '\x01\x93oACCESS_REFUS...', NULL)
#3 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(212): PhpAmqpLib\Channel\AbstractChannel->wait(Array)
#4 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(180): PhpAmqpLib\Connection\AbstractConnection->connect()
#5 /usr/share/airtime/php/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(59): PhpAmqpLib\Connection\AbstractConnection->__construct('airtime', 'airtime', '/airtime', false, 'AMQPLAIN', NULL, 'en_US', Object(PhpAmqpLib\Wire\IO\StreamIO), 0)
#6 /usr/share/airtime/php/airtime_mvc/application/models/RabbitMq.php(23): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('127.0.0.1', '5672', 'airtime', 'airtime', '/airtime')

```

I solved the problem with the help [#333](https://github.com/LibreTime/libretime/issues/333)

I applied the following commands in order.

```auto
sudo rabbitmqctl change_password airtime newpassword

```

Then update the following file with the new password:  
**/etc/airtime/airtime.conf**

```auto
sudo -u postgress psql

ALTER USER airtime WITH ENCRYPTED PASSWORD 'newpassword';

```

Then update the following files with the new password:  
database section:  
**/etc/airtime/airtime.conf**  
database driver section:  
**/usr/share/airtime/php/airtime\_mvc/build/build.properties**  
dsn section:  
**/usr/share/airtime/php/airtime\_mvc/build/runtime-conf.xml**

---

<div class="post-metadata">

**Author:** ![codenift](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/codenift/32/165_2.png) [@codenift](https://discourse.libretime.org/u/codenift)\
**Post date:** [July 21, 2020, 2:08pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/11 "2020-07-21T14:08:46Z")

</div>

**Step One:**

Set your music with “Track Type” option to “Music”. You would want to set other tracks as well, so if it is jingles, then set it to “Jingles”

**Step Two:**

Create a Smart Block and give it a name for your music (eg. Music - 3x) or for jingles (eg. Jingles 3x) . You can name it anything.

Set search criteria: [Track Type] [is] [Music]

Set Limit to: [3] [items]

Now you can add these Smart Blocks anywhere.

**Step Three:**

Create a playlist and arrange Smart Blocks the way you want it. Example:

Let’s say you named your playlist “Morning Show” for 1hr show. You drag all your smart blocks in the order you wish inside that playlist. Example:

SmartBlocks in this order inside Playlist

▶ Intro  
▶ Music - 3x  
▶ Jingles - 3x  
▶ Music - 3x  
▶ Jingles - 3x  
▶ Music - 3x  
▶ Jingles - 3x  
▶ Music - 3x  
▶ Jingles - 3x  
▶ Music - 3x  
▶ Jingles - 3x  
▶ Music - 3x  
▶ Jingles - 3x

More than an hour worth if the show is an hour. If you’re not going to include Intro, you can just stop with two Smart Blocks, and set “Repeat Playlist into Full” on the show’s options but it will repeat the intro as well. We might need to create an option to not include 1st track.

**Step Four:**

Now you can add the Playlist to your show in Calendar, using Autoloading Playlist.

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 21, 2020, 3:44pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/12 "2020-07-21T15:44:50Z")

</div>

Yes, I already did exactly the same thing, thank you very much.

Unfortunately I could not make a playlist with repeat into full for 24 hours. ☹

---

<div class="post-metadata">

**Author:** ![codenift](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/codenift/32/165_2.png) [@codenift](https://discourse.libretime.org/u/codenift)\
**Post date:** [July 22, 2020, 5:42am UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/13 "2020-07-22T05:42:44Z")

</div>

How are you setting your show? It should work if you set the time from 0:00 to 0:00. You would need to set it up for the next day, and just have a different show for today since it won’t be able to do the repeat correctly. So if today is the 22nd, then create the show to start at 00:00 on the 23rd and ends on 00:00 on the 24th. So it looks like this:

 ![Screen Shot 2020-07-22 at 1.38.47 AM](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/e9ea50d89ffeb5ff3b85cd1258597f41dd2107a2.png)

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 22, 2020, 11:37am UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/14 "2020-07-22T11:37:53Z")

</div>

I created a music (3 item) smart block and a jingle (1 item) smart block and then combined into playlist, works great, but when i use this in Show with Autoloading Playlist (Repeat Playlist Until Show is Full) for 24 hour it is not working, gives out only fews music items and fews jingles…

 ![Block](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/ce6a7707e4a34f5ed5216f39fa734f851344bb7a.jpeg) ![Jingle](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/30e4ee8844b7ef2cc8443027337db4e82d8d836d.jpeg) ![Playlist](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/5612a33d329f524901e6126dc18c59895caee77e.jpeg)

 ![1](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/573d4f5ce85a1225170bc40b0625a421a23f351a.jpeg) ![2](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/051386ac7da211a876598fe21f56f400a0100b90.jpeg) ![3](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/70d2affdeb55215ef159e07529673c91c60268a3.jpeg)

 ![4](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/e8591ecb15e6f87282e80bf3d32f7086403a7f0a.jpeg)

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 22, 2020, 1:26pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/15 "2020-07-22T13:26:36Z")

</div>

and how can we solve the high resource usage problem?

 ![Ram Usage](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/472d934a9e1a15c02888d90fc0f88bb228c3103d.jpeg)

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 22, 2020, 8:43pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/16 "2020-07-22T20:43:53Z")

</div>

Autoloading Playlist (Repeat Playlist Until Show is Full) for 24 hour it is not working, gives out only fews music items and fews jingles…☹

 ![1](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/ac7f09da776aed37e57c76cdbfab2f8cfa064e6b.jpeg) ![2](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/b194f0770d708df11c9df48d58a0512389f0764a.jpeg)

 ![3](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/02a66e941004aa6e488f2eea031b76b6fa5947f4.jpeg) ![4](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/04a17ae16d8323f8e02f38ce51413243989555a2.jpeg)

whats is wrong ? why not working ?

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 23, 2020, 9:12am UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/17 "2020-07-23T09:12:14Z")

</div>

**high CPU usage problems solved** after fixing ACCESS and CONNECT problems “airtime” user to RabbitMQ

```
rabbitmqctl add_vhost /airtime
rabbitmqctl add_user airtime ZS0L42212JSQ1HL1JKWE # Key must be same as airtime.conf
rabbitmqctl set_permissions -p /airtime airtime "airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor" "airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor" "airtime-pypo|pypo-fetch|airtime-media-monitor|media-monitor"
rabbitmqctl change_password airtime password # password must be same as airtime.conf
invoke-rc.d rabbitmq-server restart
rabbitmqctl clear_permissions -p /airtime airtime
rabbitmqctl set_permissions -p /airtime airtime "." "." ".*"
invoke-rc.d rabbitmq-server restart

```

 ![CPU](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/19a080bad328de0bbd14f45f355f8a0093b96caa.jpeg)

So I have problem only with Autoloading Playlist with Jingles 🙂

**If I can make Autoloading Playlist with Jingles until show is full, then I will finally switch from Airtime to LibreTime.**

---

<div class="post-metadata">

**Author:** ![RisKatOr](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/riskator/32/350_2.png) [@RisKatOr](https://discourse.libretime.org/u/RisKatOr)\
**Post date:** [July 24, 2020, 6:42am UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/18 "2020-07-24T06:42:23Z")

</div>

I thought that this is related to server resources, probably there is not enough server resources for operation. (my server 1vCPU and 2GB RAM) and I rescaled server to 2 vCPU but with a doubled processor (2 vCPU) also failed to create Autoloading Playlist with Jingles until show is full for 24 Hours.

Unfortunately, I failed to create a 24-hour show, so I divided the 24 hours into 6-hour slices and created shows. An automatic playlist was created for the first 6-hour slice. I could only solve it this way for now…

[Schedule](http://ahiskaradyo.com/)

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [August 24, 2020, 1:24pm UTC](https://discourse.libretime.org/t/jingles-and-resource-usage/631/19 "2020-08-24T13:24:09Z")

</div>

Hmm, not sure why it is not working but here is one possible issue. The autoloading playlist is not propogated until 1 hour before the show is supposed to air. So it will be blank until then. There has been talk about making this happen at different time intervals but I haven’t been doing much libretime coding (or checking on the forums) sorry for the delay in responding.
