Ticket #996 (Closed: fixed)
storageAdmin/bin ./import.sh pass non audio files
Priority: | normal | Reporter: | fransman |
---|---|---|---|
Severity: | minor | Assigned to: | tomash |
Component: | bug | Status: | closed |
Version: | Resolution: | fixed | |
Milestone: | 1.0 rc | Keywords: |
Description by fransman:
/mnt/cdrom1/Album/Andrea Bocelli - Sentimento/Cover/2.jpg: PHP Notice: Undefined index: bitrate in /livesupport/modules/storageAdmin/bin/php/import.php on line 104 PHP Notice: Undefined index: bitrate in /livesupport/modules/storageAdmin/bin/php/import.php on line 135 PHP Notice: Undefined index: playtime_seconds in /livesupport/modules/storageAdmin/bin/php/import.php on line 104 PHP Notice: Undefined index: playtime_seconds in /livesupport/modules/storageAdmin/bin/php/import.php on line 132 PHP Notice: Undefined offset: 0 in /livesupport/modules/storageAdmin/bin/php/import.php on line 107 PHP Notice: Undefined index: in /livesupport/modules/storageAdmin/bin/php/import.php on line 108 PHP Notice: Undefined index: audio in /livesupport/modules/storageAdmin/bin/php/import.php on line 104 PHP Notice: Undefined index: audio in /livesupport/modules/storageAdmin/bin/php/import.php on line 108 PHP Notice: Undefined index: comments in /livesupport/modules/storageAdmin/bin/php/import.php on line 104 PHP Notice: Undefined index: comments in /livesupport/modules/storageAdmin/bin/php/import.php on line 108 OK STEPS TO REPRODUCE: If there also a non audio file in the tree, ill get a error, but the script goes nice on.
Attachments
Changelog
Thu May 26 15:40:07 2005: Modified by fransman
- component changed from HTML UI 0.9 to bug
- summary changed from storageAdmin/bin ./import.sh check of files to storageAdmin/bin ./import.sh check audio of files
Thu May 26 15:42:16 2005: Modified by fransman
- summary changed from storageAdmin/bin ./import.sh check audio of files to storageAdmin/bin ./import.sh pass non audio files
Thu May 26 15:59:35 2005: Modified by fransman
Thu May 26 16:11:18 2005: Modified by tomash
- status changed from new to assigned
- owner changed from anonymous to tomash
Thu May 26 16:16:18 2005: Modified by tomash
Yes - of course - I have only audio files during tests :) I can identify audio by extension or by matadata (id3) analyze. I can probably reject some well known extension (jpg ...) and try to analyze other files. Then reject all nonaudio files. OK?
Thu May 26 17:07:56 2005: Modified by fransman
Please checkout what gStreamer player can handle as format.
Sat Jun 11 18:12:48 2005: Modified by fransman
If i put an extra disk into the system /dev/hdb1 with music pre cped on it, how can i use the music without the copy function from the import script to the root disk? Do i use the import script, to put the song information in the database?
Sun Jun 12 20:37:51 2005: Modified by tomash
Yes - you can mount device into filesystem tree. e.g. (with appropriate permissions): mount /dev/hdb1 /mnt/music import.sh -d /mnt/music umount /mnt/music There will be also a howto doc in LS with description of import music from windows shared folder by samba mount.
Sun Jun 12 20:58:21 2005: Modified by fransman
Thats not what i mean. I have in a extra disk, it's an 160gb full with music on it and my root is be 30gb. I want to use the extra disk, but without the file copy function, only to import information, with the script.
Sun Jun 12 21:13:11 2005: Modified by tomash
Huh - you probably can temporarily comment out the copy operation in the RawMediaData?.php script on line approx.75. But you should pray that there will be no side effect ... ;)
Sun Jun 12 22:49:51 2005: Modified by fransman
Do you have a more better idea, with no side effect?
Sun Jun 12 23:33:12 2005: Modified by tomash
Do you want to import only metadata not raw audio data? (Do I undestand it correctly?) If yes - I unfortunately don't have better idea. As the side effect I mean that there could be some error exception due to nonexistent raw media files => nothing critical :) It could be tried on test db ...
Mon Jun 13 08:41:24 2005: Modified by fransman
In what .conf file can i add an extra directory path like "/mnt/music"? This path function is also necessary if the disk goes to full.
Tue Jun 14 17:00:51 2005: Modified by tomash
- resolution set to fixed
- status changed from assigned to closed
Check for audio files added to import script.
Sun Jul 3 15:24:54 2005: Modified by fransman
- milestone set to 1.0 rc
The jpg's are box cover's on dvd, so can not delete them before. There are also some other media files like video, can you skip them?