PDA

View Full Version : Syncing fights with manual Toggle Played



dlynch
04-05-2013, 01:12 PM
I have a short podcast episode that I want to hear first in my Smart Playlist every day. So sometime after listening to that episode, I manually use Toggle Played. With Episode Sync, some time shortly after I Toggle Played the episode gets marked played again!

I've taken to doing the Toggle Played and immediately Start Smart Play and Pause, so the playlist is the way I want it when I am ready to listen. This morning I happened to have the phone on and saw BP update the progress bar in the player from 0 to full green.

I suppose this means that when Toggle Played sets the play position to 0 it doesn't properly record that action in the journal Episode Sync uses?

I forgot to capture the sync log this morning -- I promise to do better in the future :-)

StefanK
04-06-2013, 08:39 AM
I can't think of why sync would cause such behavior, unless your other device modifies the same file (it may be that the player on that device interprets the file slightly differently) and you get that second modification. Sync logs are persistent and you can see them in BeyondPod folder. Usually helps to look at the sync logs on both devices to see what was sent and received between them.

I will try to see if I can replicate the same behavior between my devices.

juwlz
04-06-2013, 03:14 PM
You can either think of this a workaround, or as a different way to achieve what you want ;).

If this is the exact same file that you're listening to every day, one possibility would be to copy it to a folder somewhere on your device and add that folder as a Virtual Feed. This will have two effects:


Virtual feeds are excluded from Syncing
Virtual feeds have an additional option: Save Played Position. If you untick this, the episode will not be marked read after you've played it, so you can put the Virtual Feed first in your SmartPlay list, and every time it's regenerated, your episode will automatically get put at the start of your playlist, without you having to manually Toggle its played status.

Julie

dlynch
04-06-2013, 05:28 PM
Thanks for the tip. I found the smoking gun.

I had done the listening and Toggle Played on my Galaxy Nexus. The Xoom was sitting unattended, with BP just doing its background stuff - not playing anything. And this particular episode AFAIK was never played on the Xoom at all. The Galaxy Nexus logs exactly reflect what the Xoom says, which is the interesting part. The relevant episode is "PSP Easter - Invitatory". At 6:45 the Xoom downloads that Played is false, and at 6:50 it uploads that Played is true and a different position. So it seems that the Xoom didn't believe that downloaded sync.

--- Starting Episode Sync: Fri Apr 05 06:39:29 PDT 2013 ---
--- Nothing to upload! Checking for remote changes...
--- [
--- 1.64 s.]
--- Found 83 remote changes since: Thu Apr 04 19:22:50 PDT 2013
... (a bunch of irrelevant changes)
--- DOWN sync =>St:+, Sync:DP : Fri Apr 05 06:37:36 PDT 2013 => EP_UPDATED (V) Pos: 0 (0s), Dur: 110 (1:50) (http://traffic.libsyn.com/psp/psp_easter_ip.mp3)
--- Last remote change timestamp moved to: Fri Apr 05 06:37:36 PDT 2013
--- Applying 73 remote changes...
... (a bunch of irrelevant changes)
--- APPLY remote EPISODE PLAYED. Episode: PSP Easter - Invitatory, Play Position: 110 (1:50) => 0 (0s), Duration: 110 (1:50) => 110 (1:50), Played: true => false
--- Changes applied!
--- Episode Sync completed: Fri Apr 05 06:39:31 PDT 2013 ---

--- Starting Episode Sync: Fri Apr 05 06:45:01 PDT 2013 ---
--- Nothing to upload! Checking for remote changes...
--- [
--- 0.78 s.]
--- Found 2 remote changes since: Fri Apr 05 06:37:36 PDT 2013
--- DOWN sync =>St:+, Sync:DP : Fri Apr 05 06:39:12 PDT 2013 => EP_UPDATED (V) Pos: 140 (2:20), Dur: 140 (2:20) - Played (http://stardate.org/sites/default/files/audio/radio/sd20130403_0.mp3)
--- DOWN sync =>St:+, Sync:DP : Fri Apr 05 06:44:27 PDT 2013 => EP_UPDATED (V) Pos: 4 (4s), Dur: 110 (1:50) (http://traffic.libsyn.com/psp/psp_easter_ip.mp3)
--- Last remote change timestamp moved to: Fri Apr 05 06:44:27 PDT 2013
--- Applying 2 remote changes...
--- APPLY remote EPISODE PLAYED. Episode: Zeta Puppis, Play Position: 139 (2:19) => 140 (2:20), Duration: 140 (2:20) => 140 (2:20), Played: true => true
--- APPLY remote EPISODE PLAYED. Episode: PSP Easter - Invitatory, Play Position: 0 (0s) => 4 (4s), Duration: 110 (1:50) => 110 (1:50), Played: false => false
--- Changes applied!
--- Episode Sync completed: Fri Apr 05 06:45:02 PDT 2013 ---

### Fri Apr 05 06:45:18 PDT 2013: Received CDS sync request from samsung Galaxy Nexus 6ba8e97aead6fec

--- Starting Episode Sync: Fri Apr 05 06:50:30 PDT 2013 ---
--- Starting the execution of 17 upload syncing requests!
--- [
--- 1.46 s.]
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://downloads.bbc.co.uk/podcasts/radio4/stw/stw_20130204-1103a.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://feedproxy.google.com/~r/SlateMagazineDailyPodcast/~5/cY7H1fC9vG8/HUAL13040101_HUAL.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://downloads.bbc.co.uk/podcasts/radio4/did/did_20130203-1200b.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://downloads.bbc.co.uk/podcasts/radio4/did/did_20130113-1200a.mp3)
------> Synced:EP_DELETED => Pos: 0 (0s), Dur: 0 (0s) (http://podcastdownload.npr.org/anon.npr-podcasts/podcast/13/175743390/npr_175743390.mp3)
------> Synced:EP_DELETED => Pos: 0 (0s), Dur: 0 (0s) (http://podcastdownload.npr.org/anon.npr-podcasts/podcast/13/175809527/npr_175809527.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://www.gracecathedral.org/mp3/forum/for_20130127.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://files.libertyfund.org/econtalk/y2013/Seidmanconstitution.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://downloads.bbc.co.uk/podcasts/radio4/ta/ta_20130206-1700a.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://feedproxy.google.com/~r/InterfaithVoices-hour/~5/H17njDmNzX4/510add4d684d8Show_1305.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://www.podtrac.com/pts/redirect.mp3/download.publicradio.org/podcast/being/programs/2013/01/31/20130131_rami_nashashibi_american_128.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://media.libsyn.com/media/skepticsguide/skepticast2013-02-02.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://feedproxy.google.com/~r/freakonomicsradio/~5/tuNShfopY0c/freakonomics_podcast011613.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 0 (0s) - Played (http://downloads.bbc.co.uk/podcasts/radio4/fricomedy/fricomedy_20130201-1900a.mp3)
------> Synced:EP_UPDATED => Pos: 110 (1:50), Dur: 110 (1:50) - Played (http://traffic.libsyn.com/psp/psp_easter_ip.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 581 (9:41) (http://traffic.libsyn.com/psp/psp_friday1_mp.mp3)
------> Synced:EP_UPDATED => Pos: 0 (0s), Dur: 475 (7:55) (http://traffic.libsyn.com/psp/psp_friday1_ep.mp3)
--- No remote changes since: Fri Apr 05 06:44:27 PDT 2013
--- Episode Sync completed: Fri Apr 05 06:50:32 PDT 2013 ---

dlynch
04-06-2013, 05:39 PM
Thanks for the idea, Julie, but I'm too lazy for that :-) This comes up during Advent, Lent and the Easter season, and in each season there are exceptions.

I've been thinking about making an AppEngine service that offers up a slightly modified version of the repeated episode when that's appropriate, and the specific one for the day when that's appropriate. Just haven't done it yet. (As it is this feed is coming through a Yahoo Pipe, but that conditional part seems a little too hard for Pipes visual programming.)

Normally this is the only thing I have to manually deal with. Otherwise, I just push Play on the phone and the Smart Playlist is already set to go. Then when I get home I go to the Xoom and hit Start Smart Play. On the phone all the things I actually expect to get to are downloaded on the fast home network, on the Xoom everything is streamed on that same network.

StefanK
04-08-2013, 04:00 PM
This is strange indeed. The logs that you posted above - are those all form the XOOM?

In this case progression appears to be:

(episode is marked as Unplayed) --- Starting Episode Sync: Fri Apr 05 06:39:29 PDT 2013 ---
APPLY remote EPISODE PLAYED. Episode: PSP Easter - Invitatory, Play Position: 110 (1:50) => 0 (0s), Duration: 110 (1:50) => 110 (1:50), Played: true => false

(episode is played for 4s) --- Starting Episode Sync: Fri Apr 05 06:45:01 PDT 2013 ---
APPLY remote EPISODE PLAYED. Episode: PSP Easter - Invitatory, Play Position: 0 (0s) => 4 (4s), Duration: 110 (1:50) => 110 (1:50), Played: false => false

(it uploads that it is played) --- Starting Episode Sync: Fri Apr 05 06:50:30 PDT 2013 ---
Synced:EP_UPDATED => Pos: 110 (1:50), Dur: 110 (1:50) - Played (http://traffic.libsyn.com/psp/psp_easter_ip.mp3)

So it looks like the XOOM has moved from: pos 110 (before 6:39) => pos 0 (6:39) => 4 (6:45) => 110 (somewhere between 6:45 and 6:50).

I wonder if somehow between 6:39 and 6:45 the episode post was marked as "read" (may be from Reader sync ???) and that marked the episode as "played". There is a setting in the Advanced setting called "Set played on Read" which is on by default. May be try to turn it off to see if that makes any difference.

Stefan