2010-01-30, 03:08
tim- Wrote:Appears to be an issue with spaces still. I just made a change that I think will fix it.fixed
MoveDirFreeSpace=`df -P $MoveDir|sed -n 2p|awk '{print $4}'`
I believe you needed quotes around $MoveDir. I have a show recording right now that will verify that for me =)
Using schedulesDirect would stop errors. However, I want to add processing for MC2XML.
I will need you to run a movie, a episode, and a generic show like the news or sports through mythicalLibrarian in this state so that I can see if mythicalLibrarian is getting all the information it needs.
Then, I need you to go into mysql. Drop to the terminal and type the following
Code:
adam@adam-desktop:~$ mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 151
Server version: 5.1.37-1ubuntu5 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mythconverg
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
Then you will need to substitute the basename for those three recordings for the basename in this example:
Code:
mysql> mysql> select * from recorded where basename like "5008_20100125090000.mpg";
+--------+---------------------+---------------------+---------------+--------------------+------------------------------------------------------------------------------------------------------+----------+--------------+----------+---------+---------+------------+-------------+----------+----------+------------+----------------+---------------------+------------+-------+-----------------+-----------------+----------+--------+---------------+------------+-------------+-------------+-------------------------+---------------------+---------------------+-----------+---------+-----------+------------+---------+--------------+
| chanid | starttime | endtime | title | subtitle | description | category | hostname | bookmark | editing | cutlist | autoexpire | commflagged | recgroup | recordid | seriesid | programid | lastmodified | filesize | stars | previouslyshown | originalairdate | preserve | findid | deletepending | transcoder | timestretch | recpriority | basename | progstart | progend | playgroup | profile | duplicate | transcoded | watched | storagegroup |
+--------+---------------------+---------------------+---------------+--------------------+------------------------------------------------------------------------------------------------------+----------+--------------+----------+---------+---------+------------+-------------+----------+----------+------------+----------------+---------------------+------------+-------+-----------------+-----------------+----------+--------+---------------+------------+-------------+-------------+-------------------------+---------------------+---------------------+-----------+---------+-----------+------------+---------+--------------+
| 5008 | 2010-01-25 09:00:00 | 2010-01-25 10:00:00 | Sesame Street | The Counting Booth | Elmo and Abby stand in for the Count at the Counting Booth and learn to count in pairs and by fives. | Children | adam-desktop | 0 | 0 | 0 | 1 | 1 | Default | 18 | EP00003786 | EP000037861952 | 2010-01-25 10:00:30 | 1453799112 | 0 | 0 | 2010-01-25 | 0 | 0 | 0 | 0 | 1 | 3 | 5008_20100125090000.mpg | 2010-01-25 09:00:00 | 2010-01-25 10:00:00 | Default | Default | 1 | 0 | 0 | Default |
+--------+---------------------+---------------------+---------------+--------------------+------------------------------------------------------------------------------------------------------+----------+--------------+----------+---------+---------+------------+-------------+----------+----------+------------+----------------+---------------------+------------+-------+-----------------+-----------------+----------+--------+---------------+------------+-------------+-------------+-------------------------+---------------------+---------------------+-----------+---------+-----------+------------+---------+--------------+
1 row in set (0.01 sec)
mysql>
If you can find me 3 of those, then I should be able to write some sort of processing to correctly identify episodes and movies.
Also, tim-, let's move this to the feature request since your guide data is unsupported and we're basically creating a whole new processing method and maybe even adding database requests. http://forum.xbmc.org/showthread.php?tid=65769