rosskouk / asknavidrome

An Alexa skill to allow streaming of music from Subsonic API compatible media servers on Amazon Echo devices.
https://rosskouk.github.io/asknavidrome
MIT License
48 stars 7 forks source link

[ISSUE] I can't get AskNavi to work. #29

Open Akirainblack opened 8 months ago

Akirainblack commented 8 months ago

I get the following errors: `10/24/2023 7:30:14 AM 2023-10-24 06:30:14,832 - werkzeug - INFO - 172.18.0.52 - - [24/Oct/2023 06:30:14] "POST / HTTP/1.1" 200 -

10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - General Exception: 'NoneType' object is not iterable

10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - Request Type Was: IntentRequest

10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - Intent Name Was: NaviSonicPlaySongByArtist`

I have checked my account can log into my navidrome instance and can play the files.

` asknavi:
container_name: asknavi environment:

What further information would be useful? I'm sorry I have no idea why my compose isn't showing with the correct formatting.

rosskouk commented 8 months ago

Hi,

Can you change NAVI_DEBUG to 3 and post the complete log?

Thanks

On Tue, 24 Oct 2023, 07:43 Akirainblack, @.***> wrote:

I get the following errors: 10/24/2023 7:30:14 AM 2023-10-24 06:30:14,832 - werkzeug - INFO - 172.18.0.52 - - [24/Oct/2023 06:30:14] "POST / HTTP/1.1" 200 - 10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - General Exception: 'NoneType' object is not iterable 10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - Request Type Was: IntentRequest 10/24/2023 7:30:36 AM 2023-10-24 06:30:36,794 - root - ERROR - Intent Name Was: NaviSonicPlaySongByArtist

I have checked my account can log into my navidrome instance and can play the files.

asknavi: container_name: asknavi environment: - 'NAVI_SKILL_ID=amzn1.ask.skill.skillcode' - 'NAVI_URL=https://url' - 'NAVI_USER=asknavi' - 'NAVI_PASS=password' - 'NAVI_SONG_COUNT=50' - 'NAVI_PORT=443' - 'NAVI_API_PATH=/rest' - 'NAVI_API_VER=1.16.1' - 'NAVI_DEBUG=1' ports: - '5000:5000' image: ' ghcr.io/rosskouk/asknavidrome:latest' logging: driver: "json-file" options: max-size: "10m" max-file: "1" deploy: restart_policy: condition: on-failure delay: 5s max_attempts: 3 window: 120s

What further information would be useful?

— Reply to this email directly, view it on GitHub https://github.com/rosskouk/asknavidrome/issues/29, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJF3XJ275DPT2566MLDU3YA5PPTAVCNFSM6AAAAAA6NF3W5SVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TQNRRGU2DGMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Akirainblack commented 8 months ago

Sorry, this would appear to have been my fault.

I was trying: Alexa ask navi player to play music by dire straits. This fails.

If I say: Alexa ask navi player ---Alexa's response: ready Play music by dire straits. This then works.

rosskouk commented 8 months ago

Hi,

That's great, I'm surprised there were exceptions though. Do let me know if you have any more problems, and I hope the skill works for you.

Thanks.

On Tue, 24 Oct 2023, 08:06 Akirainblack, @.***> wrote:

Sorry, this would appear to have been my fault.

I was trying: Alexa ask navi player to play music by dire straits. This fails.

If I say: Alexa ask navi player ready Play music by dire straits. This then works.

— Reply to this email directly, view it on GitHub https://github.com/rosskouk/asknavidrome/issues/29#issuecomment-1776643371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJF3UT224QI2R4GEPJWL3YA5SHJAVCNFSM6AAAAAA6NF3W5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWGY2DGMZXGE . You are receiving this because you commented.Message ID: @.***>

Akirainblack commented 8 months ago

I can't seem to get it to play specific albums. Play beserker album by amon amarth. it tells me - playing music by amon amarth. play shield wall by amon amarth it tells me - playing shield wall by amon amarth I can get it to play specific songs but not specific albums.

rosskouk commented 8 months ago

Have a look at the intents file, it could the the order of words. Try "play the album Berserker by Amon Amarth"

On Tue, 24 Oct 2023, 09:24 Akirainblack, @.***> wrote:

I can't seem to get it to play specific albums. Play beserker album by amon amarth. it tells me - playing music by amon amarth. I can get it to play specific songs but not specific albums.

— Reply to this email directly, view it on GitHub https://github.com/rosskouk/asknavidrome/issues/29#issuecomment-1776749097, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJF3X22XNDDOXRGA2445TYA53LXAVCNFSM6AAAAAA6NF3W5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWG42DSMBZG4 . You are receiving this because you commented.Message ID: @.***>

Akirainblack commented 8 months ago

<3 Yes, that's it. Sorry was following the documentation. Messing with Alexa commands is incredibly new to me. Thank you so much this is great!

rosskouk commented 8 months ago

That's great, you can add additional intents if you'd like to customise it further, just add them on the Amazon / Alexa side to the existing ones. Hope you enjoy it!

On Tue, 24 Oct 2023, 10:53 Akirainblack, @.***> wrote:

<3 Yes, that's it. Sorry was following the documentation. Messing with Alexa commands is incredibly new to me. Thank you so much this is great!

— Reply to this email directly, view it on GitHub https://github.com/rosskouk/asknavidrome/issues/29#issuecomment-1776889922, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZJF3WPTGMJDVMRI7DGRY3YA6F2HAVCNFSM6AAAAAA6NF3W5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWHA4DSOJSGI . You are receiving this because you commented.Message ID: @.***>