|
| Author |
Message |
mnadig
Joined: 02 Aug 2008 Posts: 8
|
Posted: Sat Aug 02, 2008 9:30 am Post subject: asf and music plugin |
|
|
I have a number of ASF files which are basically captured radio program streams. This are just audio, no video. When I select a folder with these files from a folder using the music plugin, it says ~ "no supported files found".
I see ASF is supported for video, but how about audio only?
I can use WinAmp to transcode the whole directory, but was hoping to leave them as asf
Note: Thank you very much to all that have contributed to pyTivo - it is bomb-diggity
|
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 369
|
Posted: Sat Aug 02, 2008 12:40 pm Post subject: |
|
|
If you don't mind modifying a little code, then you can modify pyTivo\plugins\music.py .
Quit pyTivo, and make a backup of that file.
Near the top of the file is a TRANSCODE list. Add an entry for .asf and save.
Restart pyTivo and see what happens. Might help to turn debug on in your conf file and post the debug info here if it doesn't work.
I unfortunately can't find any .asf audio only files to test with.
|
|
| Back to top |
|
 |
mnadig
Joined: 02 Aug 2008 Posts: 8
|
Posted: Sun Aug 03, 2008 6:11 am Post subject: |
|
|
| rdian06 wrote: | If you don't mind modifying a little code, then you can modify pyTivo\plugins\music.py . |
Ok - edited music.py, added ".asf" to transcode list:
TRANSCODE = ('.mp4', '.m4a', '.flc', '.ogg', '.wma', '.aac', '.wav',
'.aif', '.aiff', '.au', '.flac', '.asf')
Added Debug=True via the web interface. Did soft reset on pyTivo. Restarted TiVo box, after it came back up navigated to folder and still "no files found I can play" message.
Debug.txt doesn't have much in it:
admin.50 [Reset] The pyTivo Server has been soft reset.
admin.51 [Reset] ********************************************************
admin.51 [Reset] ** Begin pyTivo Session: 2008-08-03 07:39:27.062000 **
admin.51 [Reset] ********************************************************
admin.51 [Reset] ----- begin pyTivo.conf -----
admin.51 [Reset] [My Videos]
admin.51 [Reset] type = video
admin.51 [Reset] path = D:\Shared\DVDs
admin.51 [Reset] [Admin]
admin.51 [Reset] type = admin
admin.51 [Reset] [My Photos]
admin.51 [Reset] type = photo
admin.51 [Reset] path = D:\Shared\Pictures\
admin.51 [Reset] [Server]
admin.51 [Reset] debug = True
admin.51 [Reset] port = 9032
admin.51 [Reset] ffmpeg = C:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
admin.51 [Reset] [Home Videos]
admin.51 [Reset] type = video
admin.51 [Reset] path = D:\Shared\Videos
admin.51 [Reset] [My Music]
admin.51 [Reset] type = music
admin.51 [Reset] path = D:\Shared\Music\
admin.51 [Reset] ------- end pyTivo.conf -----
| rdian06 wrote: |
I unfortunately can't find any .asf audio only files to test with. |
I've attached one of mine. Hopefully that will help.
Thanks for your help.
| Description: |
|
 Download |
| Filename: |
A Case of Revenge.zip |
| Filesize: |
5.89 MB |
| Downloaded: |
14 Time(s) |
|
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 369
|
Posted: Sun Aug 03, 2008 7:51 am Post subject: |
|
|
I downloaded your sample, dropped it into a music type share and then modified music.py to add .asf to the transcode list. I'm able to playback your sample just fine.
I think the problem is you did a soft reset. I think soft reset just reloads the configuration, but won't pickup modifications in the code.
Try completely shutting down pyTivo and then restarting.
Also, I looked further through music.py and found that it doesn't have any debug prints, which is why you didn't see any useful info. Sorry about that.
Hope your children/grandchildren will be happy...
|
|
| Back to top |
|
 |
mnadig
Joined: 02 Aug 2008 Posts: 8
|
Posted: Sat Sep 06, 2008 6:41 am Post subject: Thanks! |
|
|
Sorry for taking so long to reply - it's working great. Thank you for your help!
Now.. if we could only get WMA Pro support in FFMPEG
|
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 369
|
Posted: Sat Sep 06, 2008 7:01 am Post subject: Re: Thanks! |
|
|
| mnadig wrote: | Sorry for taking so long to reply - it's working great. Thank you for your help!
Now.. if we could only get WMA Pro support in FFMPEG  |
Hehe. A WMA Pro decoder for ffmpeg is being worked on as part of the Google Summer of Code 2008 sponsored projects. Unfortunately, judging by how the last two years of ffmpeg SOC projects went, it takes another year or so for the code to show up in the main ffmpeg trunk. Keeping my fingers crossed that this one is different.
|
|
| Back to top |
|
 |
|