Searching this thread, it seems I'm the only one having the error where the Sort add-on just gives an error that every movie has the incorrect syntax for filename/directory? Windows 7, Eden nightly build of XBMC.
pastebin here: http://pastebin.com/v34eHNdf
Add sort by date added on movies library mode?
jubilex
Senior Member Posts: 125 Joined: Apr 2004 Reputation: 0 |
2011-11-30 00:11
Post: #101
(This post was last modified: 2011-11-30 00:16 by jubilex.)
|
| find quote |
SevenNine
Member+ Posts: 51 Joined: Oct 2010 Reputation: 0 |
2012-01-09 05:47
Post: #102
jubilex Wrote:Searching this thread, it seems I'm the only one having the error where the Sort add-on just gives an error that every movie has the incorrect syntax for filename/directory? Windows 7, Eden nightly build of XBMC. having same issue.. perhaps this script doesn't support Eden Beta 1? If so.. I'd like to ask the author to consider supporting Eden? |
| find quote |
SevenNine
Member+ Posts: 51 Joined: Oct 2010 Reputation: 0 |
2012-01-15 08:35
Post: #103
shawndavid Wrote:having same issue.. perhaps this script doesn't support Eden Beta 1? Is there someone who could help look at the python in this script? In Eden, is is simply applying an extra "/" (remote file) or "\" (local file) to the file path. I've tried looking through it; but with zero python skills, I'm a bit lost. It seems if this file path is extracted correctly from the DB; everything should be back in working order. I'm happy to help test and output logs. Thanks! |
| find quote |
jmphx
Junior Member Posts: 8 Joined: Feb 2011 Reputation: 0 |
2012-01-21 18:53
Post: #104
Hi guys, I'm the first author of the plugin and I started working on a fix for Eden this morning (using Beta2) and have a simple (potential) solution that could use some testing.
See the discussion thread on github here: https://github.com/joemiller/xbmc-script...e/issues/4 You'll need to download the 'eden' branch (not master branch) from the repo. Or, frankly, you can edit the sort.py file directly since the change is only 1 line: sort.py, line 114, change the following: strFileName = xbmc.makeLegalFilename(fields[3]) to: strFileName = fields[3] It appears that the makeLegalFilename method is adding a trailing '/' to the filename in Eden (this didn't happen in Dharma). I'm not sure why yet, and my googling has not revealed any reasons either. I have only tested this change on Eden-beta2/win32 with smb: files. I could use some testing help on other platforms (mac,linux) as well as with other file sources (local, nfs, etc) |
| find quote |
jmphx
Junior Member Posts: 8 Joined: Feb 2011 Reputation: 0 |
2012-01-21 22:10
Post: #105
jmphx Wrote:Hi guys, I'm the first author of the plugin and I started working on a fix for Eden this morning (using Beta2) and have a simple (potential) solution that could use some testing. Nevermind folks, that was not a fix at all. The new external python in Eden makes this a bit tricky to do. I think the fastest way to get this done would be to add a 'stat()' method to the new 'xbmcvfs' module. See additional info/discussion here: https://github.com/joemiller/xbmc-script...nt-3598657 |
| find quote |
edrikk
Member Posts: 95 Joined: Jul 2011 Reputation: 1 |
2012-02-06 21:49
Post: #106
Ok, so I did read this entire thread to get a sense of the discussion, and I see that the devs are not completely aboard with this idea.
May I ask the XBMC Developers one question: Would it be a fair middle-ground / ask to request that when loading the database for the FIRST time, XBMC should use the file modification timestamp to import media and build its database. In this way, the database doesn't have to be modified to add the file modification date, from a user's perspective, the 'recently added' list will make sense, as it is truly what was most recently added to his machine (and in turn library). Which will make the first time user experience better (as to them, items most recently added to their machine is correctly communicated via XBMC). This will also make life much easier for folks who test out XBMC, as it allows for the database to be rebuilt in a usable fashion for them (imagine if you have only 1 machine, you decide to test out a new build which doesn't work well, and you must start fresh). Your family is looking at the recently added list, and are not overly pleased with your 'experiment.' Thanks for your time guys! [EDIT] It looks like there is hope!!! ![]() http://forum.xbmc.org/showpost.php?p=101...count=1661 [/EDIT]
(This post was last modified: 2012-02-06 22:33 by edrikk.)
|
| find quote |
NiPiN³
Junior Member Posts: 14 Joined: Nov 2009 Reputation: 0 |
2012-05-08 16:25
Post: #107
Just made a simple script in Perl that will sort on mtime. It will only sort the Movies, not the Series nor the Music vids. Use at your own risk!
- XBMC Movie Sort It will probably only work on linux, not sure, sorry... |
| find quote |
sho
Team-XBMC Member Joined: May 2004 Reputation: 3 |
2012-05-08 17:22
Post: #108
Just in time since this has now officially been added to XBMC.
First to the db as date added and then as a list property to skins to sort by (and is working in the latest nightlies) Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
NiPiN³
Junior Member Posts: 14 Joined: Nov 2009 Reputation: 0 |
2012-05-08 17:35
Post: #109
(2012-05-08 17:22)sho Wrote: Just in time since this has now officially been added to XBMC. Good to hear that! Not using the nightlies though...
(This post was last modified: 2012-05-08 17:35 by NiPiN³.)
|
| find quote |
khaoohs
Member+ Posts: 65 Joined: Oct 2006 Reputation: 0 |
2012-05-09 22:27
Post: #110
Is there a way to disable this new behavior for items in the Movie database? The mtime of the movie files I add to my library can vary greatly. Meaning that if I add a movie with an mtime from 2 years ago, I will never see that movie show up on my recently added list.I do like this behavior for TV shows, it just does not work for me for Movies.
|
| find quote |


Search
Help