|
Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
strange behavior deleting a TV show?
Is the "delete" behavior a little strange in Gemstone? Perhaps it's something just in my setup?
I view my TV in the list flow. When i select a show to delete, i pull up the options, and select "delete this recording." I then confirm the delete. However, the show remains in the listing. If i try to play it, I get an error about the video no longer being available. So i'm pretty sure that it's being deleted from the disk, but it's still showing up. I haven't play with it too much, but I think that if i exit the flow, and re-enter, it's gone. Perhaps there is a cache of shows that doesn't get updated immediately? Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#2
|
|||
|
|||
Quote:
My guess is that the list of recordings is generated when you enter the view. After deletion the list is not regenerated so it requires you to leave the view and come back to it to reflect the current state. In TVE i had to put special code in to regenerate the list if i just deleted something so that you wouldnt need to leave and re-enter...
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#3
|
|||
|
|||
Correct and on our list to fix/update.
Thanks, J |
#4
|
|||
|
|||
For now you have 2 choices...leave the flow and return and it will be refreshed... OR turn on flow caching in the options which will then offer a refresh option and use that after the delete.
But we will refresh after delete...perhaps optionally to improve performance on multiple deletes. k |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Quote:
A copy of the log may help too so we can find the issue. Thanks k |
#7
|
|||
|
|||
Quote:
Going back into the stock Sage7 Videos/ByFolder listing from the Main Menu (instead of the Dual Flow) allows me to delete the file without issue. Log attached (showing 1st unsuccessful delete in the flow and 2nd successful delete in the Videos/ByFolder listing) |
#8
|
|||
|
|||
Quote:
A few things... First. When we added the new delete function to the Flows in 1.019x we forgot to tie it into the video options menu delete function so they would both call the same code. I will add an issue to ensure we update this in the next version. So what you are using is the default Sage delete which should do the delete BUT will NOT refresh the list of videos (you need to leave the Flow and return to see it gone). However, something is stopping Sage from allowing it to delete the media item... it thinks it's in use.... had you just played this prior to trying the delete? I seem to recall a known issue in Sage where the file may not be closed properly after being played...in fact I think there is a plugin for it... but not certain this is the issue... let me know if you were just playing the file. Second. Try the new delete function in Gemstone in the same way and let me know what happens...basically use the DELETE button on the keyboard or remote. Third. I did notice that you have an STVI plugin called "STV7.phoenix.compatability.1.0.1.stvi"... this is not needed for Gemstone so you may want to disable or uninstall it. This is not related... just thought I would mention it. k |
#9
|
|||
|
|||
Quote:
Right after the error, I can go back to the Main Menu, enter Videos by Folder (SageTV7 non-flow view), and am able to delete it, so it doesn't look like a file-lock issue at all. I can reproduce the issue with any imported Video. Quote:
Quote:
Have you tried reproducing this issue on your end? Curious if it's just me -D |
#10
|
|||
|
|||
I just tried deleting using the delete button on my keyboard and through the menu and had no issues here. I did notice that the listing of shows didn't refresh right away but nothing odd when deleting an imported TV show or recorded TV show.
I even went into the old video title screen and set to not allow video deletion and I was still able to delete an imported show from the dual flow view. Still needs a tweak or two but the deletion functionality seems to be working fine for me. Where are you imported videos stored? NAS, network share etc? J Last edited by jorton; 01-03-2013 at 12:13 AM. |
#11
|
|||
|
|||
Quote:
I'll play around with different settings and flows and see if I can find out anything else.... |
#12
|
|||
|
|||
I played around with this issue a bit more today, and discovered that I can delete the Imported Videos in any flow type and in any view EXCEPT when the "View" is set to "Imported Videos by Folder."
It doesn't matter what flow type is used, I get the "cannot delete file, it is in use" error whenever the "View" is set to "Imported Videos by Folder." Right after getting that error, I can go into the Flow options menu, change the View to anything OTHER than "Imported Videos by Folder," and can delete the Imported Video file just fine, no error. So just curious, absent an ability to reproduce this issue or find any issues in the code, is there any way to reproduce the same result (Videos organized by folder as they are in the filesystem) using any of the other views/filters? I really like the Dual Flow UI, but not being able to delete imported videos drags the WAF to 0 |
#13
|
|||
|
|||
I think the Imported Videos Imports by Folder view is quite different from the other views due to the way it displays the folder structure, so we will have to see what jusjoken has to say.
At least you narrowed it down to the view. I can confirm the delete issue is only with the Video Imports by Folder View. Doesn't matter what flow as I also got the error in the Sagetv Flow with the same Video Imports by Folder view. Just curious but how do you have your videos organized and what makes the Video Imports by Folder view the one you need to use? J Last edited by jorton; 01-05-2013 at 01:15 AM. |
#14
|
|||
|
|||
As info we do have it on the list to look at another potential solution to mimic a Folder type view but can't promise it will work or will be any time soon.
As well, I will check the phoenix code and see if we can work around the delete issue for this view type. k |
#15
|
|||
|
|||
Quote:
I suppose I could flatten it all out, but I think that would involve a lot of work in BMT to sort out all the different material.... |
#16
|
|||
|
|||
Quote:
Just curious... as my media files are stored similarly... but the way I store them has nothing to do with the way I display them..... but there are lots of options as there are lots of users with different preferences. k |
#17
|
|||
|
|||
My "imported videos" folder is pretty much a "junk drawer" of media (e.g., some mutli-year series, some DVDs, Christmas shows organized into a XMAS folder, halloween shows organized into a Halloween folder, home movies in a Home Movies folder, etc.), and I really just haven't found a view that I felt integrated all these different types of media into a single intelligent and thoughtful layout.
|
#18
|
|||
|
|||
Makes sense...you can try to use the menu system as them top level with a different flow for Home Movies, Christmas etc to mimic your folders and then use views that work for each independently. Or just keep using the folder view until we come up with something different.
In the mean time we will try to see why the delete is not working for this one specifically. k |
#19
|
|||
|
|||
Thanks!
Gemstone rocks by the way. I am using the dual flow for my regular Recordings, and the stock Sage7 videos by folder for the imported videos, and I'm loving it! -D |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange behavior | pjpjpjpj | SageTV Software | 3 | 11-04-2009 04:16 PM |
Strange V4 behavior | SprDtyF350 | SageTV Software | 3 | 11-10-2005 11:25 PM |
No audio/Strange behavior | walts81 | SageTV Beta Test Software | 12 | 05-09-2005 10:12 PM |
Strange Behavior | jphhughes | SageTV Software | 5 | 03-21-2005 10:34 AM |
2.1 GUI has strange behavior | NickSD | SageTV Software | 22 | 11-20-2004 03:17 PM |