What is happening with the Plex for iOS client and it's development ?

@ChuckPa said:
I was able to recreate your inability to cast to the chromecast (either through the phone or as the local server).

The issue was the ChromeCast. Using the updated “Google Home” app (no longer “Google Cast”), I put it back in the local lan after doing the full factory-reset.

In both cases, using Plex app 4.4.1 (current), I sync’d content to the phone. Before resetting the ChromeCast, it would not play.
Resetting the ChromeCast and pairing it back, while forcing download of the current Chrome OS, did what was needed.

Once reset and put back into my wireless LAN, it will play the local sync’d content or I can ‘fling’ it through the phone to the ChromeCast.

Have you gone through these steps?

Just adding that my issue is not for synced content, streaming only.

I put the iOS client through all it’s capabilities. On both my devices iPad 4 and iPhone SE, it has no difficulties with anything I’ve given it within the limits of the chromecast itself. The biggest problem faced is the limited bandwidth of the 2.4 Ghz band with all the competing RF in that band (keyboards, mice, other remote controls, etc)

Ich muss mich entschuldigen. Ich habe vergessen dich antworten. (ich versuche Deutsch wieder errinnern und richtig schreiben :smiley: )

I’m seeing a lot of server issues first. Your database is in need of optimization. It has become slow. This is an unfortunate side effect of this database type . The butler (Server - Scheduled Tasks) does this for you each 3 days.

To correct for you immediately:

Go to the ellipsis (***) near Library and click “Optimize Database”.

Guk mal:

Mar 14, 2017 04:09:52.931 [0xf1fffb90] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (42fe099f-7436-419b-951f-a23b11991457, expected 079f6637-084a-4969-b986-066421b6f621)
Mar 14, 2017 04:09:54.528 [0xe90d7b90] ERROR - Error issuing curl_easy_perform(handle): 28
Mar 14, 2017 04:09:57.209 [0xeae23b90] WARN - SLOW QUERY: It took 600.000000 ms to retrieve 0 items.
Mar 14, 2017 04:09:58.759 [0xf1511b90] ERROR - handle_stream_read error 335544539 short read
Mar 14, 2017 04:10:18.779 [0xf1511b90] ERROR - handle_stream_read error 335544539 short read
Mar 14, 2017 04:10:38.795 [0xf1511b90] ERROR - handle_stream_read error 335544539 short read```

Es soll nicht sein.   (1-3 ms ist OK)

hi, danke …
I have optimized the databas.
Anbei nochmals das neue Logfile … dein deutsch ist sehr gut. Es klingt nur etwas englisch… wieso kannst du so gut Deutsch?

Es klingt? haha Ist doch Tatsache! Ich war Schuler, Oberschuler, und Student. Zeit den Tagen (40 Jahren) hab ich fast kein Wort Deutsch gesprochen oder gescrieben (nur mir selbst babbeln/reden). Im letzen two b. drei Wochen fang ich wieder an (ein paar Typ hier bedanken)… So steht’s das. Am meistens Hochdeutsch aber manchmal hoert man Hessisch lol

Jetzt, fuer dich,

Shau mal an… es hat nichts getan.

Mar 24, 2017 16:29:11.885 [0xe8159b90] WARN - Held transaction for too long (../Library/DatabaseFixups.cpp:169): 1.250000 seconds
Mar 24, 2017 16:29:12.212 [0xea911b90] WARN - Took too long (1.570000 seconds) to start a transaction on ../Statistics/StatisticsManager.h:191
Mar 24, 2017 16:29:12.212 [0xea911b90] WARN - Transaction that was running was started on thread 0xe8159b90 at ../Library/DatabaseFixups.cpp:158
Mar 24, 2017 16:31:45.742 [0xe7e6bb90] WARN - SLOW QUERY: It took 210.000000 ms to retrieve 0 items.
Mar 24, 2017 16:31:46.082 [0xea335b90] WARN - SLOW QUERY: It took 380.000000 ms to retrieve 0 items.
Mar 24, 2017 16:31:46.293 [0xe8a23b90] WARN - SLOW QUERY: It took 750.000000 ms to retrieve 0 items.
Mar 24, 2017 16:35:59.817 [0xf03ffb90] WARN - LongPoll: Got error, closing.
Mar 24, 2017 17:05:01.092 [0xf3e87740] WARN - Timed out waiting for server to finish.
Mar 24, 2017 17:05:02.093 [0xf3e87740] WARN - Timed out waiting for server to finish.

Du muss curl benutzen.

  1. Von "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preference.xml" PlexOnlineToken den Wert copieren.
  2. ‘Terminal’ ofnen und curl --request PUT 'http://127.0.0.1:32400/library/optimize?async=1&X-Plex-Token=TOKEN-WERT (ohne ")
  3. PMS neu starten.

PS: Ohne hilfe gescrieben. Wie war’s ? :smiley:

ich kann fogender Pfad nicht öffnen (Ich hab eine QNAP NAS)

/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library … is ok
LS … Plex Media Server/ tmp/
CD tmp … is ok
but cd Plex Media Server … No such file or directory
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library] # cd Plex Media Server
-sh: cd: Plex: No such file or directory

@dane22 Can you assist please?

Either escape the spaces, or put it in quotes

Like:

cd Plex\ Media\ Server

/T

thanks … cd Plex\ Media\ Server worked …
but i dont know …

[1] 32128
=-sh: X-Plex-Token=XXXXXXXXXXXXXXX: command not found
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] #

Unauthorized

401 Unauthorized

</ .. this was the answer of curl.. was this ok'?

as atachment the protokoll without IPAD error

Edited by dane22, to remove token.

[1] 32128
=-sh: X-Plex-Token=p7QvHsaUdPHi9Tqz93sc: command not found
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] #

Unauthorized

401 Unauthorized

</

with ipad error

Removed stuff from above, and then stepping out again, since part of this thread is in german, and not english!

@“sam@tmo.at” I forgot this is the English forum. We should stick to English here for benefit of all.

worked the curl? I don`t know if i did i right?

I tryed this version with ’
curl --request PUT 'http://127.0.0.1:32400/library/optimize?async=1&X-Plex-Token=TOKEN-WERT

And this version without ’
curl --request PUT http://127.0.0.1:32400/library/optimize?async=1&X-Plex-Token=TOKEN-WERT

should i update my server?

Sam,

You change the value of TOKEN-WERT (token value) to be the one for your system.

I will use my server as example for you. curl --request PUT 'http://127.0.0.1:32400/library/optimize?async=1&X-Plex-Token=123aBc456DeFsjzBAvJg'

Wait 60 seconds to complete.

Now you can use PMS normally.

If it does not work correctly, please get the logs for me to see?

i did following
curl --request PUT ‘http://192.168.1.151:32400/library/optimize?async=1&X-Plex-Token=xxxxxsaUdPHi9Txxxx
the answer came turing 1 second …
my log file (without IPAD)

with IPAD error …

Sam,

1 PMS cannot process the file because it cannot start the tasks in time. It is waiting for the database.

Mar 29, 2017 23:18:36.455 [0xea047b90] WARN - Took too long (0.200000 seconds) to start a transaction on ../Library/MetadataItem.cpp:850
Mar 29, 2017 23:18:36.455 [0xea047b90] WARN - Transaction that was running was started on thread 0xeabffb90 at ../Library/MetadataItem.cpp:850
Mar 29, 2017 23:18:36.546 [0xea047b90] ERROR - [MI] Could not parse time string 2006-03-04/ 19:18  
Mar 29, 2017 23:18:36.674 [0xea047b90] INFO - [FFMPEG] - non-interleaved AVI

2 Your database must be optimized. This is major problem

Mar 29, 2017 00:58:14.183 [0xea623b90] WARN - SLOW QUERY: It took 370.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:14.632 [0xea911b90] WARN - SLOW QUERY: It took 290.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:17.094 [0xea335b90] WARN - SLOW QUERY: It took 1310.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:17.519 [0xe977db90] WARN - SLOW QUERY: It took 250.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:17.940 [0xf0f35b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:18.406 [0xea623b90] WARN - SLOW QUERY: It took 250.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:18.901 [0xea335b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:19.362 [0xe977db90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:19.805 [0xea335b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:19.941 [0xea623b90] INFO - Sync: downloaded 3 sync list(s) with 9 sync items(s): 0 new, 0 updated, 0 deleted
Mar 29, 2017 00:58:20.242 [0xf0f35b90] WARN - SLOW QUERY: It took 270.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:20.622 [0xea911b90] WARN - SLOW QUERY: It took 250.000000 ms to retrieve 9 items.
Mar 29, 2017 00:58:20.622 [0xea911b90] INFO - Sync: downloaded 3 sync list(s) with 9 sync items(s): 0 new, 0 updated, 0 deleted
Mar 29, 2017 00:58:20.693 [0xe977db90] WARN - SLOW QUERY: It took 320.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:21.174 [0xea335b90] WARN - SLOW QUERY: It took 260.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:21.618 [0xe977db90] WARN - SLOW QUERY: It took 250.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:21.854 [0xea911b90] INFO - Sync: downloaded 3 sync list(s) with 9 sync items(s): 0 new, 0 updated, 0 deleted
Mar 29, 2017 00:58:22.076 [0xea335b90] WARN - SLOW QUERY: It took 270.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:22.438 [0xf0f35b90] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 9 items.
Mar 29, 2017 00:58:22.439 [0xf0f35b90] INFO - Sync: downloaded 3 sync list(s) with 9 sync items(s): 0 new, 0 updated, 0 deleted
Mar 29, 2017 00:58:22.523 [0xea623b90] WARN - SLOW QUERY: It took 290.000000 ms to retrieve 2 items.
Mar 29, 2017 00:58:22.972 [0xe977db90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 2 items.
Mar 29, 2017 00:58:23.420 [0xea911b90] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:23.865 [0xea335b90] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:24.322 [0xf0f35b90] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 2 items.
Mar 29, 2017 00:58:24.745 [0xea623b90] WARN - SLOW QUERY: It took 250.000000 ms to retrieve 2 items.
Mar 29, 2017 00:58:25.155 [0xe977db90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 4 items.
Mar 29, 2017 00:58:25.597 [0xea911b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 4 items.
Mar 29, 2017 00:58:26.022 [0xea335b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 4 items.
Mar 29, 2017 00:58:26.443 [0xf0f35b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 4 items.
Mar 29, 2017 00:58:26.881 [0xea623b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:27.302 [0xe977db90] WARN - SLOW QUERY: It took 230.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:27.717 [0xea911b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:28.157 [0xea335b90] WARN - SLOW QUERY: It took 240.000000 ms to retrieve 1 items.
Mar 29, 2017 00:58:30.284 [0xea911b90] ERROR - SQLITE3:0x8cdea24, 1, no such column: children_settings.rating

3 We can look at the video after these are fixed.

To do this, we must Optimize the Database.

You have two choices:

Either you do it here:

or you use the command line as I have tried to instruct. I will capture screen shots to help you if you need.

Answer from the curl (1second) …:
[1]+ Done curl --request PUT http://192.168.1.151:32400/library/optimize?async=1

I have deleted a lot of music libraries (all the gracenote… they makes a lot of problems)

Logfile without IPAD error

Hi … Do you have an answer?

I’m “on hold”. Nothing to report :frowning:

I’ve also doing a full rebuild here (NAS got blown away). LOT of work ahead of me.