Willo3092 (24-11-21)
@CCS: I'm glad that works for batch renaming.
The original question though:to see a renamed recording with that changed name, you have to go out of the movie-list and back in, or to a different directory and back, I have not seen tackled/adressed.
I'm now at OpenVIX 6.0.003 and using the Magic-FHD skin, but this not-refreshing of the list has been "off" since somewhere 5.4.008 or so.
The, for me, strange thing is that it does refresh and show the changed name when renaming a directory.
Maybe that last part can help determine if and where some code is missing.
Current: Vu+ Ultimo 4K - 1Tb HDD, 8Tb USB, 8Tb USB, 6Tb USB (all powered)
___________Astra 19.2 and 28.2 East, both with Unicable-II LNB
My first suspicion is that renaming a directory actually renames the directory. So it gets visibly changed.
Renaming a recording just involves changing the title in the *.meta file. Somehow need to invalidate the whole current list.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
I appear to have have a solution.
Basically the renameCallback() has to assume it has renamed things and hence they may need to be resorted (not just redisplayed). Hence it needs to reload() the data after the renames (which might be a list of them).
Try this version of Screens/MovieSelection.py and see whether it works for you.
MovieSelection.zip
It does leave you on the same index in the list, rather than move with a renamed item, but since you might be renaming multiple items at once this will need to do.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
LbCwby (03-12-21)
If I rename a recording in the top level of movielist, it leaves me with that renamed recording highlighted.
If I rename a recording stored in a "real" folder, it leaves me with that renamed recording highlighted in the "real" folder.
If I rename a recording inside a "collection", it returns to movielist, highlighting the first entry after deleted items (based on "sort by date").
If I rename that recording back to the "collection" name, the "collection" in movielist is then left highlighted.
Last edited by ccs; 02-12-21 at 16:15.
LbCwby (03-12-21)
But did it fix the issue of immediately displaying the changed name?
f I rename a recording inside a "collection", it returns to movielist, highlighting the first entry after deleted items (based on "sort by date").
- What is a "collection"?
- Why/how do you have deleted items in a a movielist (that isn't .Trash)?
- Is "sort by date" your normal sort method?
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Yes, here's me thinking "renamed recording" meant the name of the recording after it had been renamed.
A standard ViX feature for organising recordings of the same name into "pseudo" folders of the same name, mentioned in 6 posts in this thread.
Try it, it can be switched off just as easily, with no changes what so ever to /media/hdd/movie.
When I delete a recording it goes into "Deleted items", like everyone else, I'd imagine. That's why I used it as a reference to where the highlighted entry was.
It's the default, which I haven't changed.
Last edited by ccs; 02-12-21 at 19:52.
LbCwby (03-12-21)
Thank you Birdman and CCS, for looking into it, finding a solution and testing it.
I imagine this new version will then be included in the next update.
PS: I'm sure Birdman just wanted to be thorough and certain you both were talking about the same thing. So, thank you CCS for taking the time afterwards to confirm that.
It is so easy to be misunderstood, as even the most easy wording, heard by a person with different experiences, can mean something else to that person.
Thank you both !!!
Current: Vu+ Ultimo 4K - 1Tb HDD, 8Tb USB, 8Tb USB, 6Tb USB (all powered)
___________Astra 19.2 and 28.2 East, both with Unicable-II LNB
ccs (03-12-21)
OK. I now understand what you mean by this.
As for collections - I'd never used them, as I've always put recordings into a suitably named "category" directory. However, having turned them on (on a same-directory basis) it does tidy up the display.
I think I'll leave them on...
Yes, it jumps to the top of that directory list after a rename. Although it might not be the top. If you multi-select n files for renaming it ends up item n.
I'll see what can be done...
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
ccs (03-12-21)
Is this one any better?
MovieSelection.zip
This should leave you within a collection (even when you select and rename them all so that it actually no longer exists).
There does seem to be a limitation in what can be (reasonably) done.
There seems to be no way to track an individual item on the list, only a way to remember the index (how far "down" the list you are).
But at least this does display the new name.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Willo3092 (04-12-21)
... yes, that looks ok.
If you rename a programme in a collection, you remain in that collection.
If you rename a programme which ends up in a collection, you remain where you where before renaming it.
Moving (renaming) files from one collection to another also does what you'd expect.
birdman (04-12-21)