pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

asf and music plugin

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
mnadig



Joined: 02 Aug 2008
Posts: 8

PostPosted: Sat Aug 02, 2008 9:30 am    Post subject: asf and music plugin Reply with quote

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 Smile

Note: Thank you very much to all that have contributed to pyTivo - it is bomb-diggity Smile
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 369

PostPosted: Sat Aug 02, 2008 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
mnadig



Joined: 02 Aug 2008
Posts: 8

PostPosted: Sun Aug 03, 2008 6:11 am    Post subject: Reply with quote

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.



A Case of Revenge.zip
 Description:
asf file

Download
 Filename:  A Case of Revenge.zip
 Filesize:  5.89 MB
 Downloaded:  14 Time(s)

Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 369

PostPosted: Sun Aug 03, 2008 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
mnadig



Joined: 02 Aug 2008
Posts: 8

PostPosted: Sat Sep 06, 2008 6:41 am    Post subject: Thanks! Reply with quote

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 Smile
Back to top
View user's profile Send private message
rdian06



Joined: 12 Apr 2008
Posts: 369

PostPosted: Sat Sep 06, 2008 7:01 am    Post subject: Re: Thanks! Reply with quote

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 Smile


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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.4276s ][ Queries: 15 (0.2949s) ][ Debug on ]