Author |
Message |
Plebs
|
Posted: Fri Apr 06, 2007 7:39 am |
|
Joined: Fri Apr 06, 2007 7:20 am
Posts: 1
|
Hi,
Is there any way to automate in a cron job that would scan for new media in the folders I have set up for mythVideo and mythMusic?
TIA
Plebs
|
|
Top |
|
 |
akulcsar
|
Posted: Mon Apr 23, 2007 11:29 pm |
|
Joined: Thu Dec 01, 2005 4:14 pm
Posts: 78
Location:
Ann Arbor, MI
|
I was seeking a solution to the problem you described so that I could watch RSS feeds ("podcasts" or, specifically, "vodcasts") through MythTV. It does not appear to be possible to script MythMusic to scan for new files, nor can you do so for MythVideo. However, there is a way to circumvent this in MythVideo.
In the setup pages for MythVideo (General Settings, page 2, to be specific), you can check "Video {Browser, Gallery, List} browses files" to change the default functionality. Video Gallery is the default view, and the default setting shows only the files that MythVideo finds in the database. By checking the appropriate box, MythVideo will display any file in the folder, whether or not it is in the database. I dump my vodcast files into subfolders in /myth/video and watch them through MythVideo. It is not perfect (e.g. the only thing that you see in gallery view is the file name, which may or may not be terribly descriptive), but it works just fine for me.
There is no particular reason why you could not store, say, MP3s from podcasts in your /myth/video folder and play them through MythVideo. Not exactly intuitive, but it should work. Depending on your settings, you may need to add an appropriate extension in your MythVideo settings to handle audio files.
That was a crash course through my setup...if you need further help (or if I am completely off-base), just holler!
|
|
Top |
|
 |
spalVl
|
Posted: Tue Apr 24, 2007 10:21 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
I noticed a project/addon over at the Gossamer boards about something that automates the scanning on MythVideo.  I cannot remember the name of it for the life of me though. Search around, discussion sometime in 2007 in MythTV.org lists.
|
|
Top |
|
 |
bruce_s01
|
Posted: Tue Apr 24, 2007 5:41 pm |
|
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location:
UK
|
After a quick google this, has a couple of links to the gossamer threads, um, threads. There is also a mention of a script to automagically create previews for the items under Mythvideo
It seems to be a common request, as seen from this search.
Bruce S.
_________________ Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P 16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD, SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080 Hauppauage Nova-T 500, Nova-T LinHes R8.6.1
|
|
Top |
|
 |
spalVl
|
Posted: Wed Apr 25, 2007 3:25 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
|
Top |
|
 |
randomhtpcguy
|
Posted: Thu Apr 26, 2007 7:21 pm |
|
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
|
1. go to edit keys ... create a jump point to scan music.
2. map a remote key to that jump point
#scanmusic - added jump point
begin
prog = mythtv
button = Message
config = Ctrl+F9
end
I'm 99% sure I could very easily automate a nightly scan using the telnet ports and a simple telnet perlscript. Then run that script from a cron job.
However, this could be somewhat dangerous if a scan causes a hang which it often did for me in previous versions.
The remote button has worked for me say about 30 times over the past two months with no crash so far. It is quick and I do it just before I press the listen to music key.
Now if the previous "smartlist" in mythmusic could refresh after a music scan and each time that would save me several remote clicks.
However, still decent way to listen to the most recent podcasts with <10 clicks of the remote. (podcast rotation is done via windows doppler to a fileserver which is mounted with nfs to the myth-backend as /myth/music)
The only thing i can't do is click a button to delete a podcast or lame song i don't want. I think my nfs mount permissions are wrong.
|
|
Top |
|
 |