Series2Folder plugin

Moderators: Gully, peteru

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Tue Dec 22, 2020 11:22

prl wrote:
Tue Dec 22, 2020 10:23
Note also that none of the other plugin entries in the menu are visible (e.g. Start offline decode, add AutoTimer, Cutlist editor ), either. It's not just Series2Folder that's missing

Hi all,

The first part of the jigsaw is that you have to be in Media player with a recording selected to see the full list of menu items. Hence, why Judy can't see if S2F is installed.

Second, I advised Judy to look at Menu-Plugins-Remove plugins-Extensions to see if it was listed, as it is on my U4. I think her reference to looking in plugins is shorthand for this advice.

When she checked she said it was not installed. I suggested she try to install S2F again and do a reboot. If it installs good. If not, she might be best served by redoing the firmware flash and then reinstall S2F. I routinely restart or reboot after a software install. I expect S2F requires at least a restart to activate it correctly.

My amateur reading of the crash report suggests the V2 crashed attempting to access the meta file for a recording on the NAS. If so, it seems the interplay between her NAS and the V2 remains as an issue.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Tue Dec 22, 2020 11:36

Paul_oz53 wrote:
Tue Dec 22, 2020 11:22
Second, I advised Judy to look at Menu-Plugins-Remove plugins-Extensions to see if it was listed, as it is on my U4. I think her reference to looking in plugins is shorthand for this advice.

When she checked she said it was not installed. I suggested she try to install S2F again and do a reboot. If it installs good. If not, she might be best served by redoing the firmware flash and then reinstall S2F. I routinely restart or reboot after a software install. I expect S2F requires at least a restart to activate it correctly.

The PVR needs (at least) a GUI restart after installing Series2Folder for the Series2Folder entries to appear in the media selection screen menu.

It doesn't require a GUI restart after installation for there to be a series2folder entry in PLUGIN, RED Remove Extensions. It will be in the extensions sublist.

Series2Folder will only appear in the media selection screen menu (MEDIA, MENU from live TV). It won't appear in the Plugin Browser screen (PLUGIN from live TV), or in the "Please choose an extension..." popup menu (BLUE from live TV).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Tue Dec 22, 2020 11:59

Paul_oz53 wrote:
Tue Dec 22, 2020 11:22
My amateur reading of the crash report suggests the V2 crashed attempting to access the meta file for a recording on the NAS.

That reading is correct. The thing that puzzles me is that it's reading the meta file for the recording in order to get the recording's service reference so it can to display the channel picon for the channel the recording was made from. But I can't the circumstances in which that would be done.
Paul_oz53 wrote:
Tue Dec 22, 2020 11:22
If so, it seems the interplay between her NAS and the V2 remains as an issue.

That seems very likely.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

gibster
Master
Posts: 192
Joined: Mon Oct 19, 2015 13:11

Re: Series2Folder plugin

Post by gibster » Tue Dec 22, 2020 12:00

One more item just in case.

When installing the plugin make sure you "Select" the plugin on the installation screen. (Tick the box next to the plugin name)

I don't know how many times I've inserted the USB stick had the installation item pop up and just hit OK. Thinking it has been installed and not finding it after a GUI reboot. Not intuitive for some of us I guess :)

Cheers

Gib

BeyonWiz V2
Sony KD-55A9F OLED
Sony KD-65X9000E
Apple TV 4K x 2
Sony UBP X800 4k/UHD BluRay Player (Moded for all regions)
X-Box One X
Harmony Ultimate Remote
QNAP TS-451+ NAS
BeyonWiz V2
Sony KD-55A9F OLED
Sony KD-65X9000E
Apple TV 4K and Apple TV 4K Gen 2
Sony UBP X800 4k/UHD BluRay Player (Moded for all regions)
X-Box One X
Harmony Ultimate Remote
QNAP TS-451+ NAS

User avatar
csutak40
Master
Posts: 286
Joined: Sat Jul 05, 2014 20:56
Location: Melbourne

Re: Series2Folder plugin

Post by csutak40 » Tue Dec 22, 2020 22:52

adoxa wrote:
Tue Dec 22, 2020 09:59


You're still on a directory:
prl wrote:
Tue Dec 22, 2020 09:30
You have to be in the media selection screen and a recording or media file has to be highlighted, not a directory, for the Series2Folder entries to appear when you press MENU.
This is most peculiar! Earlier today (soon after I wrote my last post) I wrote a post, apologising profusely, as apparently I can't read. I kept missing the bit about "when you have a recording highlighted "
So, it is installed and working fine :oops: :oops: :oops:
The post seems to have disappeared :o :?
Cheers,
Judy


Beyonwiz V2 & T2
NetComm NF18ACV
D-Link NAS drives
HauppaugeTV HVR-2210
TV: Samsung UA55MU7000W
TV: Sharp Aquos LC37PD5X
TV: Sony KDL-46EX520
Panasonic DMR ES35V

User avatar
csutak40
Master
Posts: 286
Joined: Sat Jul 05, 2014 20:56
Location: Melbourne

Re: Series2Folder plugin

Post by csutak40 » Tue Dec 22, 2020 23:13

e done.
Paul_oz53 wrote:
Tue Dec 22, 2020 11:22
If so, it seems the interplay between her NAS and the V2 remains as an issue.

That seems very likely.
[/quote]


This has nothing to do with the Series2Folder plugin, but seems a good segue to mention it here.
Things are getting worse. All day today, every time a recording starts, the playback keeps freezing and everything else (like opening the movie list) takes forever, with the "thinking" symbol in the middle of the screen.
However, things have now gone from bad to worse. The thinking symbol appeared in the middle of the screen (there is a recording happening) at least an hour ago and while it still freezes occasionally, it is mostly playing but none of the buttons work. Can't pause it, stop it, can't even use the mute button. I have been busy with other things, so let it play, wondering if it will ever go back to normal - I test a button every so often - nothing. Looks like I will have to turn it off at the back. I'm just waiting for what ever is recording to finish, in the hopes that it may then come good
Hmm. Just looked on IceTV, nothing should be recording ATM
I have now copied everything over to the NAS drive from the T4 drive, so I think my next move will have to be to try recording to the T4 drive instead of the NAS and move things that should go to folders over to the NAS drive, to avoid overfilling the T4 up again. Sounds like a pain, but don't know what else to do
Cheers,
Judy


Beyonwiz V2 & T2
NetComm NF18ACV
D-Link NAS drives
HauppaugeTV HVR-2210
TV: Samsung UA55MU7000W
TV: Sharp Aquos LC37PD5X
TV: Sony KDL-46EX520
Panasonic DMR ES35V

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Tue Dec 22, 2020 23:33

Hi Judy,

Recording to the former T4 drive (now mounted in a USB enclosure) is definitely the best option. If it works it makes clear that the problem is something to do with the NAS or network traffic.

In Menu >> Setup >> TV >> Recording settings >> default movie location set the T4 drive to be the Default movie location.

The timer recording and instant recording locations should point to "<Default movie location>" or to the same T4 folder as above.
Cheers,
Paul
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

User avatar
csutak40
Master
Posts: 286
Joined: Sat Jul 05, 2014 20:56
Location: Melbourne

Re: Series2Folder plugin

Post by csutak40 » Wed Dec 23, 2020 00:04

Yeah, I will try that...
BTW, just rebooted it. (there was no other way of stopping it - the show I was watching finished, so it just froze there) This time a recording also crashed. When I rebooted it, it was supposedly still recording, but it wasn't
1_0_0_0_0_0_0_0_0_0_20201223004834.jpg
1_0_0_0_0_0_0_0_0_0_20201223004548.jpg
1_0_0_0_0_0_0_0_0_0_20201223004548.jpg (37.75 KiB) Viewed 3995 times
Cheers,
Judy


Beyonwiz V2 & T2
NetComm NF18ACV
D-Link NAS drives
HauppaugeTV HVR-2210
TV: Samsung UA55MU7000W
TV: Sharp Aquos LC37PD5X
TV: Sony KDL-46EX520
Panasonic DMR ES35V

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Wed Dec 23, 2020 09:56

I'm not sure what you mean by "it was supposedly still recording". You've highlighted the timer for Robbie Coltrane's Critical Evidence/The Double Axe Murderer, but at the time you highlighted it, it shouldn't be recording: the clock at the top of the screen shows 00:45 23 Dec, and the end of the Critical Evidence recording was 00:20 23 Dec.

It's hard to see what the cause is without more information about exactly what the problem is.

My guess is that the recording of Critical Evidence failed because of problems accessing the NAS, then there was a crash, and when the system restarted, if it was before the end of the recording of Critical Evidence, the recording couldn't be restarted because there was still a problem with accessing the NAS.

But that's pretty much conjecture.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Wed Dec 23, 2020 11:29

prl wrote:
Wed Dec 23, 2020 09:56
I'm not sure what you mean by "it was supposedly still recording". You've highlighted the timer for Robbie Coltrane's Critical Evidence/The Double Axe Murderer, but at the time you highlighted it, it shouldn't be recording: the clock at the top of the screen shows 00:45 23 Dec, and the end of the Critical Evidence recording was 00:20 23 Dec.

On what's shown here, the "Why We Hate" timer ran for longer than it should have - timer: 76 mins, recording: 106 mins - finishing at 00:30.
Perhaps there was a funky time warp?
prl wrote:
Wed Dec 23, 2020 09:56
It's hard to see what the cause is without more information about exactly what the problem is.

Yes, even the timers log entries may reveal something.

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Wed Dec 23, 2020 11:39

Grumpy_Geoff wrote:
Wed Dec 23, 2020 11:29
prl wrote:
Wed Dec 23, 2020 09:56
It's hard to see what the cause is without more information about exactly what the problem is.

Yes, even the timers log entries may reveal something.

Yes, though I was thinking of even more basic things, like "Which recording?" and "What was odd about it?"
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
csutak40
Master
Posts: 286
Joined: Sat Jul 05, 2014 20:56
Location: Melbourne

Re: Series2Folder plugin

Post by csutak40 » Wed Dec 23, 2020 17:36

prl wrote:
Wed Dec 23, 2020 11:39
Grumpy_Geoff wrote:
Wed Dec 23, 2020 11:29
prl wrote:
Wed Dec 23, 2020 09:56
It's hard to see what the cause is without more information about exactly what the problem is.

Yes, even the timers log entries may reveal something.

Yes, though I was thinking of even more basic things, like "Which recording?" and "What was odd about it?"
What I meant was that the front of the V2 said "REC" I couldn't check on the V2 none of the buttons were working. I was waiting for what ever was recording to finish, before turning it off at the back. Eventually, I checked on IceTV, which told me that nothing should have been recording, so I rebooted it. That is when I discovered that Robbie Coltrane's Critical Evidence only recorded for 17 minutes and the other went on too long
Where does one find the timers log?
FWIW, I now changed it to record to the USB drive, and, so far, so good (haven't used it a lot yet)
Cheers,
Judy


Beyonwiz V2 & T2
NetComm NF18ACV
D-Link NAS drives
HauppaugeTV HVR-2210
TV: Samsung UA55MU7000W
TV: Sharp Aquos LC37PD5X
TV: Sony KDL-46EX520
Panasonic DMR ES35V

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Wed Dec 23, 2020 18:07

csutak40 wrote:
Wed Dec 23, 2020 17:36
What I meant was that the front of the V2 said "REC" I couldn't check on the V2 none of the buttons were working. I was waiting for what ever was recording to finish, before turning it off at the back. Eventually, I checked on IceTV, which told me that nothing should have been recording, so I rebooted it.

I'm guessing a frozen front panel. You could've checked on the NAS to see if the recording files were still growing.
csutak40 wrote: That is when I discovered that Robbie Coltrane's Critical Evidence only recorded for 17 minutes and the other went on too long
Where does one find the timers log?

See here - viewtopic.php?f=45&t=13585&p=181526#p181522

User avatar
csutak40
Master
Posts: 286
Joined: Sat Jul 05, 2014 20:56
Location: Melbourne

Re: Series2Folder plugin

Post by csutak40 » Wed Dec 23, 2020 21:34

Grumpy_Geoff wrote:
Wed Dec 23, 2020 18:07
csutak40 wrote: That is when I discovered that Robbie Coltrane's Critical Evidence only recorded for 17 minutes and the other went on too long
Where does one find the timers log?

See here - viewtopic.php?f=45&t=13585&p=181526#p181522
That just proves that I have a head like a sieve :oops:
This is what it shows for Robbie Coltrane. No idea what that means
1_0_1_313_310_3202_EEEE0000_0_0_0_20201223222145.jpg
Cheers,
Judy


Beyonwiz V2 & T2
NetComm NF18ACV
D-Link NAS drives
HauppaugeTV HVR-2210
TV: Samsung UA55MU7000W
TV: Sharp Aquos LC37PD5X
TV: Sony KDL-46EX520
Panasonic DMR ES35V

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Wed Dec 23, 2020 21:48

csutak40 wrote:
Wed Dec 23, 2020 21:34
This is what it shows for Robbie Coltrane. No idea what that means
1_0_1_313_310_3202_EEEE0000_0_0_0_20201223222145.jpg

Yeah, not much there - that entry means the start time was adjusted by IceTV to now start at 22:49 (including your pre-padding, the "prepare" time is 20 secs before the timer start, and that's when the tuner is allocated and broadcaster tuned, free disk space is checked, recording file name is allocated). Perhaps the other timer log entries were lost in the big switch-off.

What about the "Why We Hate" timer that ran too long?

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Tue Mar 30, 2021 00:02

In recent weeks S2F has not been moving some series recordings to folders on my T4 and U4. There's no obvious reason why not though.

Recordings of Heartbeat and Home and Away have been building up since last Wednesday. Manually running S2F on the media folder does not find anything to move but if the recordings are selected they do move under option 2 of S2F.

I'm using IceTV descriptions 1.0.7.2. The target folder exists and contains episodes up to S5, Ep 40 of Heartbeat for example but has failed on episodes 41 onwards. About 5 episodes of each show haven't been moved on the T4. Harder to tell on the U4 as we watch it the most and delete as we go.

S2F worked fine up to a few weeks ago. No settings have been changed recently that might affect S2F.

Looking at the recalcitrant files, they appear identically formatted as earlier files that moved successfully. Names and episode information appear consistent. The season subfolder exists.

Any idea why it's not working normally is welcome.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Tue Mar 30, 2021 10:50

Check that "Allow Series to Folder to run in the background" is enabled. I presume that it is if some recordings are being moved to folders.

What is "Automatically create folders" set to?

Try setting "Series to Folder notifications" to "all", restart the GUI and wait 2 minutes in live TV. Does Series2Folder run? Does it show any recordings being moved?

If that doesn't move anything, try using MENU>Series to Folder in the media selection screen and see what is reported. If that doesn't work, move the focus in the media selection window to an episode of Heartbeat or Home and Away, and try MENU>Sel Series to Folder and see what is reported.

Then change "Series to Folder notifications" back to its usual setting.

I haven't been having any problems with the show that I have Series2Folder set to move recordings to. I use "Automatically create folders" set to "no autocreate" and create folders as I want them using "Sel Series to Folder".
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Tue Mar 30, 2021 12:43

prl wrote:
Tue Mar 30, 2021 10:50
Check that "Allow Series to Folder to run in the background" is enabled. I presume that it is if some recordings are being moved to folders.
Yes, enabled.
What is "Automatically create folders" set to?
Auto create is set to two recordings. The Folder and sub folder also exist from earlier recordings.
Try setting "Series to Folder notifications" to "all", restart the GUI and wait 2 minutes in live TV. Does Series2Folder run? Does it show any recordings being moved?
It ran and cleared the backlog for Four Corners, Heartbeat and Home and Away.

Right now normal service has been restored. Curious though. The T4 restarts daily on a power timer. Perhaps that hasn't been working.

I'll see how it goes over the next few days.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Tue Mar 30, 2021 14:04

prl wrote:
Tue Mar 30, 2021 10:50
I haven't been having any problems with the show that I have Series2Folder set to move recordings to. I use "Automatically create folders" set to "no autocreate" and create folders as I want them using "Sel Series to Folder".

That's what I do.

I just had a look and noticed some recordings that haven't automatically moved.
I use IceTVDesc. I can see the ones that haven't auto-moved are for a new season of the existing series.
Example:
I have season 1 of the The Pier (Aka: El Embarcadero) stored -

Code: Select all

root@beyonwizt4:/hdd/movie/The Pier (Aka_ El Embarcadero)# ls -altr
drwxr-xr-x    2 root     root          4096 Jan  5 17:39 Season 01
drwxr-xr-x    3 root     root          4096 Jan  5 17:39 .
drwxr-xr-x  104 root     root        438272 Mar 30 11:43 ..
Current series is season 2, and those episodes haven't auto-moved. Of course, they will if I "Sel Series to Folder" on one.
Thus to me, it doesn't appear to auto-detect a season/series changeover.

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Tue Mar 30, 2021 15:58

Grumpy_Geoff wrote:
Tue Mar 30, 2021 14:04
Thus to me, it doesn't appear to auto-detect a season/series changeover.

That'd be something in IceTVDesc, because Series2Folder doesn't try to do that. Maybe IceTV has invented a new format for season/episode that's messing up IceTVDesc.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Tue Mar 30, 2021 16:06

Paul_oz53 wrote:
Tue Mar 30, 2021 12:43
Right now normal service has been restored.

:)
Paul_oz53 wrote:
Tue Mar 30, 2021 12:43
Curious though. The T4 restarts daily on a power timer. Perhaps that hasn't been working.

That sounds possible. Series2Folder only runs for the first time 2 minutes after startup. That gives time for any recordings to start, if the PVR has been started by a recording timer.

After that, it only runs when recordings finish, and then only when no recordings are still running. Any runs will be deferred if it should run and either a recording or media is being watched (so that recordiung files arenb't moved while a recording is being watched) or the user is in the media selection screen (so that things don't suddenly disappear from the media selection list).

Are you using IceTVDesc?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Tue Mar 30, 2021 17:00

prl wrote:
Tue Mar 30, 2021 16:06
Are you using IceTVDesc?

Yes, Paul is using it.

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Tue Mar 30, 2021 17:40

Grumpy_Geoff wrote:
Tue Mar 30, 2021 17:00
prl wrote:
Tue Mar 30, 2021 16:06
Are you using IceTVDesc?

Yes, Paul is using it.
Just back home.

Yes, I use IceTVDesc and it had occurred to me it might have been the rollover of seasons at play but in the cases I questioned they're in the same season.

A potential cause of my problem may be leaving the T4 on the media selection screen. We frequently start watching a recording in the kitchen and finish watching in the lounge room. The T4 will be left on the media selection screen accordingly. I'll give that some attention now that I know it's a factor.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Wed Mar 31, 2021 18:47

Update: I now know S2Fs failure to move recordings was not caused only by remaining in the media selection screen. That was likely a major element in my case but it seems rebooting does not trigger S2F to run but a restart GUI does.

Although set to Live TV on channel 7HD, S2F did not run today until I manually called it up. It is set to run in the background. S2F ran at the restart GUI yesterday but the logs show it did not run this morning after coming out of deep standby at 8:59 AM. Last night's Heartbeat and Home and Away remained in the /media/hdd/movie folder untouched until tonight when I intervened.

With it recording Heartbeat, manually selecting option 1 had no effect. Option 1 reported not finding anything to move. I assume recording prevents option 1 from allowing a general move of series recordings to occur.

However, option 2 moved the manually selected Home and Away episode as expected.

After today's Heartbeat finished recording, both episodes moved automatically as expected.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Thu Apr 01, 2021 15:34

Paul_oz53 wrote:
Wed Mar 31, 2021 18:47
it seems rebooting does not trigger S2F to run but a restart GUI does.

That seems unlikely, because the code that runs the startup of Series2Folder doesn't differentiate between a reboot and a GUI restart. Series2Folder runs 2 minutes after it is started. It will be started some time when the Loading front panel display (on models that have it) is showing between 50% and 100%.

To be sure that the initial Series2Folder run has been done, wait for at least two minutes after live TV starts.
Paul_oz53 wrote:
Wed Mar 31, 2021 18:47
With it recording Heartbeat, manually selecting option 1 had no effect. Option 1 reported not finding anything to move. I assume recording prevents option 1 from allowing a general move of series recordings to occur.

However, option 2 moved the manually selected Home and Away episode as expected.
Does "option 1" mean "Move series recordings to folders" and "option 2 mean "Move selected series recording to folder"?

In any case, Series2Folder won't move recordings that are currently being recorded, either with "Move series recordings to folders" or "Move selected series recording to folder". If the same series has episodes currently being recorded and ones that have already been recorded, it will move the ones currently being recorded and leave the rest. If it can't move any shows, you'll get a popup saying that it couldn't move anything, otherwise you'll get a popup saying what was moved.

The reason that it won't move recordings currently being recorded is that some metadata files might get written to, or updated from, the old location of the recording after it has been moved.

I was incorrect when I said that the background runs will only move recordings when a recording stops and no recordings are still being made. It will run after when every recording stops, but won't move anything that is still being recorded. It will defer if another run of Series2Folder is still processing the recordings to move when a further recording finishes.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Trial_Master
Guru
Posts: 623
Joined: Mon Jul 28, 2008 21:50
Location: Brisbane, Australia

Re: Series2Folder plugin

Post by Trial_Master » Fri Apr 02, 2021 15:22

I can’t believe I just discovered this plugin. What a beautiful way to automate my OCD manual folder creation ways 😂

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Fri Apr 02, 2021 16:55

:D

I hope you find it useful!

To get control over creating folders only for shows that you want them for, set "Automatically create folders" to "no autocreate", and use "Sel[ected] series to Folder" to make a folder for the series that's in focus, and to put all episodes of it into a series folder.

You may also find adoxa's IceTVDesc useful in conjunction with Series2Folder if you want to archive stuff: it moves shows into subdirectories of the series folder that are named for the season number. I don't use it, but others in the previous discussion in the topic do.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Trial_Master
Guru
Posts: 623
Joined: Mon Jul 28, 2008 21:50
Location: Brisbane, Australia

Re: Series2Folder plugin

Post by Trial_Master » Fri Apr 02, 2021 17:14

Thanks Peter. I will look into IceTVDesc. I have played around with Sel[ected] series to Folder and it works great. I look forward to new recordings dropping into their new homes 👍

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Fri Apr 02, 2021 17:50

Thanks Peter,

Apologies for my shortcut references to options. Down to one finger typing on the phone. Apologies too for the long post.

You are correct in your translations of my 2 options to S2F behaviour. Also, please correct me if I am wrong about how Series2Folder works, particularly in the "move series recordings to folders" mode.

The issue I am having is that Series2Folder is sometimes ignoring otherwise valid recordings to move automatically. Manually selecting them works. Note that it has involved programs other than Home and Away and Heartbeat on other days.

In a number of instances this is probably because the T4 or U4 was left on the media player screen when other recordings finished. However, even when they're on live TV when a recording finishes, Series2Folder sometimes is ignoring older episodes of a show but moving the latest episode(s). On inspection, there seems no obvious reason why it is happening. I am using IceTVDesc 1.0.7.2 on the T4 and U4 but not the T3.

Referring to my earlier post re theT4, although Series2Folder was not recording Home and Away but was recording Heartbeat, the "move series recordings to folders" option didn't find the Home and Away episode to move. I thought it would as the Home and Away folder exists as does the Season 34 subfolder.

On the T3 Series2Folder does move a single file to a folder after it finishes recording. However, when I manually selected the "move series recordings to folders" on the T4 the message it gave was "Series2Folder didn't find anything to move" (as best I recall), which was wrong in the circumstances as there was a recording to move. I have seen the same "fail to recognise" behaviour on the Lounge U4 with different recordings.

I'm not calling for changes to Series2Folder per se. I can accept that it doesn't run in the "find recordings to move" mode if it is recording but I wonder if it shouldn't say something like "Can't operate in this mode while recording" if this is a correct interpretation of its behaviour.

As noted, the second option "Move selected recording" option does immediately move the selected recordings to the correct folders. Just why it can't find the match between the aforementioned files and their existing folders is puzzling me.

Regarding running on startup and noting your comment, on the T4 I set it up today with one episode of Heartbeat and three of Home and Away in the movie folder and performed a reboot. When it finished booting it had moved the three episodes of Home and Away but not the episode of Heartbeat. Manually selecting the file and running S2F did move it to the right folder. As noted earlier, there seems to be no difference in the filename syntax that would explain the behaviour.

Yesterday I searched the log files for references to Series2Folder. The first reference was late in the day and coincided with it manually moving (renaming) the Home and Away episode from Wednesday. Presumably it only logs an entry if it finds something to move. This entry was several hours after booting at 8:59AM Thursday. I expected it would have found both the Heartbeat and Home and Away episode in the Thursday morning startup but it didn't. Hence my perception that it didn't run.

Ideally, I would like to find out why Series2Folder is sometimes not finding the files to move. There's no obvious reason why it is sometimes failing for me.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Series2Folder plugin

Post by MrQuade » Fri Apr 02, 2021 18:33

It sounds to me like there is/was a corrupt file (or something similar) in the directory that is causing S2F to abort it's hunt for valid files before it should.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Series2Folder plugin

Post by Grumpy_Geoff » Fri Apr 02, 2021 19:00

Paul_oz53 wrote:
Fri Apr 02, 2021 17:50
The issue I am having is that Series2Folder is sometimes ignoring otherwise valid recordings to move automatically. Manually selecting them works.

You're not alone there Gunga Din, as it's happening to me too.
I can't see why neither.
Examples:
Gogglebox (Season 13) isn't being moved despite having a Season 13 sub-directory present.
Aussie Inventions That Changed the World (Season 1)
Fisk (Season 1)

I have others that I can understand why.
Example:
Bosch / S2020 episodes aren't auto-moving. The "IceTVDesc hacked" S2F plugin isn't moving them because the structure is flat - no season folder from the last time it was shown (season 6?), i.e. prior to IceTVDesc file name changes.

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Fri Apr 02, 2021 19:19

MrQuade wrote:
Fri Apr 02, 2021 18:33
It sounds to me like there is/was a corrupt file (or something similar) in the directory that is causing S2F to abort it's hunt for valid files before it should.

My first thought was a malformed filename might be the cause but there's no obvious errors. I did a fsck too but no change.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Fri Apr 02, 2021 19:30

Grumpy_Geoff wrote:
Fri Apr 02, 2021 19:00
Paul_oz53 wrote:
Fri Apr 02, 2021 17:50
The issue I am having is that Series2Folder is sometimes ignoring otherwise valid recordings to move automatically. Manually selecting them works.

You're not alone there Gunga Din, as it's happening to me too.
I can't see why neither.
Examples:
Gogglebox (Season 13) isn't being moved despite having a Season 13 sub-directory present.
Aussie Inventions That Changed the World (Season 1)
Fisk (Season 1)

I have others that I can understand why.
Example:
Bosch / S2020 episodes aren't auto-moving. The "IceTVDesc hacked" S2F plugin isn't moving them because the structure is flat - no season folder from the last time it was shown (season 6?), i.e. prior to IceTVDesc file name changes.

Relieved to know I'm not going senile!

For no apparent reason the match of files to an existing folder fails at erratic intervals. If the same file (set of six) also failed the "move selected files to folders" test I'd be less confused. That it doesn't fail means I can easily intervene.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

BrisbaneR33
Apprentice
Posts: 22
Joined: Sun Oct 11, 2015 16:07
Location: Brisbane, Australia

Re: Series2Folder plugin

Post by BrisbaneR33 » Sun Sep 19, 2021 11:37

I just purchased a V2 and am having issues installing this plug in. I downloaded and unzipped the file to a USB deleted the zip and ran the installer on the V2. Rebooted and it’s not showing in plugins. I tried reinstalling but it’s telling me it is already installed?! On my T4 when looking at the recording list the series to folder option came up in the recordings menu. Not on the V2. What have I missed?

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Sun Sep 19, 2021 12:55

It appears In the Media player menu. You will need a recording to see it. You should reboot the machine too.

Go to the Media player and select a recording. Press MENU. Scroll down and you will find three entries for S2F. The entry with "..." is the configuration option.
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Sun Sep 19, 2021 13:08

Paul_oz53 wrote:
Sun Sep 19, 2021 12:55
You should reboot the machine too.
BrisbaneR33 wrote:
Sun Sep 19, 2021 11:37
... ran the installer on the V2. Rebooted and it’s not showing in plugins.
[my emphasis]
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

BrisbaneR33
Apprentice
Posts: 22
Joined: Sun Oct 11, 2015 16:07
Location: Brisbane, Australia

Re: Series2Folder plugin

Post by BrisbaneR33 » Sun Sep 19, 2021 16:07

Go to the Media player and select a recording. Press MENU. Scroll down and you will find three entries for S2F. The entry with "..." is the configuration option.
Perfect thanks all sorted! On my T4 I had an older version which required manual running. It appeared as a soft key from the Media player when over a recording.

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Series2Folder plugin

Post by MrQuade » Sun Sep 19, 2021 16:27

BrisbaneR33 wrote:
Sun Sep 19, 2021 16:07
Perfect thanks all sorted! On my T4 I had an older version which required manual running. It appeared as a soft key from the Media player when over a recording.
That will still be the case though.
You will still get an option to manually run s2f when I recording is highlighted
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Sun Sep 19, 2021 17:32

BrisbaneR33 wrote:
Sun Sep 19, 2021 16:07
On my T4 I had an older version which required manual running.

If it really only supported manual running, then it was truly ancient. Series2Folder has been able to run in the background since March 2016 (v1.4).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

BrisbaneR33
Apprentice
Posts: 22
Joined: Sun Oct 11, 2015 16:07
Location: Brisbane, Australia

Re: Series2Folder plugin

Post by BrisbaneR33 » Sun Sep 19, 2021 19:05

It would have been around 2016

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Mon Sep 20, 2021 10:39

There have been quite a few improvements since then :)
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Wed Sep 07, 2022 16:03

New version 1.11 of Series2Folder is available.

The most visible change is that the "Series to Folder" and "Sel Series to Folder" no longer appear by default in the MEDIA, MENU menu. If you want them there, you now need to enable them explicitly in the Series2Folder config popup. If you had them disabled then they will remain disabled.

"Move selected series recordings to folder"/"Series to Folder" will use marked recordings if any recordings are marked. If recordings are marked, it doesn't matter which recording is currently highlighted. If no recordings are marked, it will work the same as before.

If background mode is not enabled, the config popup will show a message saying how to enable it. It will appear at most five times, and enabling background mode will disable the message.

There have been a number of internal changes to make it portable across Python 2 and Python 3, and across Beyonwiz, OpenATV and OpenViX. These changes should be invisible to the user.

For more details, see the 1.11 release notes in the link above.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: Series2Folder plugin

Post by Bodogbodog » Wed Sep 07, 2022 16:27

prl wrote:
Wed Sep 07, 2022 16:03
New version 1.11 of Series2Folder is available.
What is the Recomended way to upgrade to 1.11 from 1.10 - install over the top or uninstalll/reinstall??
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Wed Sep 07, 2022 16:40

Bodogbodog wrote:
Wed Sep 07, 2022 16:27
prl wrote:
Wed Sep 07, 2022 16:03
New version 1.11 of Series2Folder is available.
What is the Recomended way to upgrade to 1.11 from 1.10 - install over the top or uninstalll/reinstall??

You can do either, but installing over the top is simplest. It's a proper package, not like some of the patches I post, where uninstall/install is required.

You also don't need to uninstall it before doing an online update.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Paul_oz53
Wizard
Posts: 2791
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Series2Folder plugin

Post by Paul_oz53 » Wed Sep 06, 2023 13:51

Paul_oz53 wrote:
Fri Apr 02, 2021 19:30
Grumpy_Geoff wrote:
Fri Apr 02, 2021 19:00
Paul_oz53 wrote:
Fri Apr 02, 2021 17:50
The issue I am having is that Series2Folder is sometimes ignoring otherwise valid recordings to move automatically. Manually selecting them works.

You're not alone there Gunga Din, as it's happening to me too.
I can't see why neither.
...
Relieved to know I'm not going senile!
...

A quick update - We have identified a probable cause after prl provided me with a debug logging version of S2F 1.11 - Thanks prl! We determined the root of my issue is the timeshift flag being set but not cleared on occasion. This results in S2F deferring any moves.

The cause in my case was setting a timeshift recording of a show in progress using the "save current event" option but deleting one of the parts, notably the first part before the join operation had a chance to run. This results in the timeshift flag not being cleared. To fix: watch any channel in timeshift, change channel, and select "Leave timeshift". Rebooting or restarting the GUI will also clear the flag.

Prl is pondering whether there is a fix possible in S2F or if the bug is actually in the enigma2 code, which is unlikely to be updated. Now I know the cause I know how to stop causing a problem.

The moral of the story is don't delete parts of a timeshifted recording until after the recording finishes and the join operation completes. Avoid this mistake and you won't see the bug I have had. A classic example of PEBKAC. :lol: :lol: :lol:
__________________________________
Paul
Beyonwiz T4, 2 x U4: FW - 19.3 20211010
Samsung QA85Q80BAWXXY 4K TV
Samsung QA65Q80TAWXXY 4K TV
Samsung HW Q800BXY soundbar
OverlayHD 1.70, IceTV, Foxtel IQ4
2 x Win7 PCs, 2 x Win10 PCs
Denon AVR -X2400H

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Series2Folder plugin

Post by prl » Wed Sep 06, 2023 16:17

Paul_oz53 wrote:
Wed Sep 06, 2023 13:51
Prl is pondering whether there is a fix possible in S2F or if the bug is actually in the enigma2 code, which is unlikely to be updated. Now I know the cause I know how to stop causing a problem.

Prl thinks that it is in fact a bug in the enigma2 code (one also shared with OpenATV and OpenViX, I haven't checked other images). He also thinks that it's possible to put a workaround in the Series2Folder code that stops the Series2Folder hang that Paul_oz53 described by resetting the enigma2 code variable that causes the hang, but he hasn't tried coding it yet.
Paul_oz53 wrote:
Wed Sep 06, 2023 13:51
The moral of the story is don't delete parts of a timeshifted recording until after the recording finishes and the join operation completes. Avoid this mistake and you won't see the bug I have had. A classic example of PEBKAC. :lol: :lol: :lol:

If you do get into that state, though, you can get out of it by doing a GUI restart (or reboot), or a bit less disruptively, by entering timeshifted viewing, changing channels, and selecting "Leave timeshift". It will take up to a minute after you do this for Series2Folder to restart normal operations. The fact that the "Leave timeshift" trick works is probably yet another bug in the whole "save timeshift" mess.

I once created a full A4 page of call and state transition diagrams for saving timeshift with the intention of cleaning up the code, or at least making it more robust, but I just gave up on it.

I'm currently working on a few other bug/portability fixes in Series2Folder, and I intend to add my fix for the hang that Paul_oz53 found to that before I do a new release.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Post Reply

Return to “Plugins”